Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

updated readme

  • Loading branch information...
commit 3970f3136be4532aa3e4d4f7828a6d48f054682d 1 parent 52aac8f
@heyZeus authored
Showing with 4 additions and 2 deletions.
  1. +4 −2 README.textile
View
6 README.textile
@@ -4,7 +4,8 @@ commons-client Java library.
h3. Usage
-@; Prints the HTML of the clojure.org website
+<pre><code>
+Prints the HTML of the clojure.org website
(let [clj-ws (client "http://www.clojure.org")
home (method "/")]
(println (scrape clj-ws home)))
@@ -28,7 +29,8 @@ h3. Usage
(let [clj-ws (client "http://www.clojure.org")
home (method "/")]
(send-method clj-ws home
- (println (.getStatusCode home))))@
+ (println (.getStatusCode home))))
+</code></pre>
I've only implemented some basic functionality to make the commons-client
more "in line" with functional programming. There are lots of things that

0 comments on commit 3970f31

Please sign in to comment.
Something went wrong with that request. Please try again.