Permalink
Browse files

Merge pull request #65 from timmc/fix-ns-in-example

Change client/ to http/ in readme example to match :require
  • Loading branch information...
2 parents 477e4f6 + 7b7e98e commit 076fc0e5963ff09c260fe45a2c30cc911f3131b4 @cch1 committed Oct 19, 2015
Showing with 7 additions and 7 deletions.
  1. +7 −7 README.org
View
14 README.org
@@ -64,13 +64,13 @@
(defn -main []
(println "Connecting...")
- (with-open [client (client/create-client)]
- (let [ws (client/websocket client
- url
- :open on-open
- :close on-close
- :error on-error
- :byte handle-message)]
+ (with-open [client (http/create-client)]
+ (let [ws (http/websocket client
+ url
+ :open on-open
+ :close on-close
+ :error on-error
+ :byte handle-message)]
; this loop-recur is here as a placeholder to keep the process
; from ending, so that the message-handling function will continue to
; print messages to STDOUT until Ctrl-C is pressed

0 comments on commit 076fc0e

Please sign in to comment.