Liking cljdoc? Tell your friends :D

aerial.hanasu.server


on-closeclj

(on-close ws status)

on-openclj

(on-open ws)

receiveclj

(receive ws msg)

send-msgclj

(send-msg ws msg & {:keys [encode] :or {encode :binary}})

Send a message 'msg' to client at connection 'ws'. Message will be encoded according to 'encode'

Send a message 'msg' to client at connection 'ws'. Message will be
encoded according to 'encode'
raw docstring

start-serverclj

(start-server port
              &
              {:keys [uris threads bufsize]
               :or {bufsize 100 threads 32 uris ["/ws"]}})

stop-serverclj

(stop-server)

ws-handlerclj

(ws-handler request)

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

× close