Permalink
Browse files

updated readme

  • Loading branch information...
1 parent 52aac8f commit 3970f3136be4532aa3e4d4f7828a6d48f054682d @heyZeus committed Mar 6, 2009
Showing with 4 additions and 2 deletions.
  1. +4 −2 README.textile
View
@@ -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.