Liking cljdoc? Tell your friends :D

aerial.hanasu.server


on-close

(on-close ws status)

on-open

(on-open ws)

receive

(receive ws msg)

send-msg

(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-server

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

stop-server

(stop-server)

ws-handler

(ws-handler request)

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

× close