Liking cljdoc? Tell your friends :D

com.deercreeklabs.talk2.clj-ws-client


<connect-wsclj

(<connect-ws host
             port
             path
             timeout-ms
             protocols-seq
             raw-nio-ch
             nio-ch
             rcv-buf
             on-conn-close
             close!
             *state)

<rcv-loopclj

(<rcv-loop nio-ch
           rcv-buf
           initial-ba
           on-conn-close
           on-close-frame
           on-error
           on-message
           on-ping
           on-pong
           close!
           *state)

<read*clj

(<read* nio-ch rcv-buf handle-ba on-conn-close close! *state)
(<read* nio-ch rcv-buf handle-ba on-conn-close close! *state timeout-ms)

<read-bytesclj

(<read-bytes nio-ch rcv-buf on-conn-close close! *state)

<wait-for-conn-closureclj

(<wait-for-conn-closure code timeout-ms close! on-error *state)

check-schemeclj

(check-scheme scheme)

make-upgrade-req-baclj

(make-upgrade-req-ba host port path ws-key protocols-seq)

make-wsclj

(make-ws url
         close-timeout-ms
         connect-timeout-ms
         protocols-seq
         max-payload-len
         on-disconnect
         on-error
         on-message
         on-connect
         on-pong)

send-data!clj

(send-data! msg-type data nio-ch max-payload-len *state)

upgrade-infoclj

(upgrade-info rsp-info expected-ws-accept)

write-ba-to-nio-chanclj

(write-ba-to-nio-chan nio-ch ba *state)

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close