(accept-web-socket-request-subprocess routing-fn
client-socket
header-map-with-body)
Work with established websocket connection
Work with established websocket connection
(decode-message encoded-bytes key-array)
Decode message sent through websocket
Decode message sent through websocket https://tools.ietf.org/html/rfc6455#section-5.2
(encode-message message & [first-byte user-agent])
Encoding message to send it through websocket
Encoding message to send it through websocket https://tools.ietf.org/html/rfc6455#section-5.2
(read-till-fin-is-one input-stream user-agent)
Read from input stream all messages till FIN bit has value 1 (one)
Read from input stream all messages till FIN bit has value 1 (one)
(start-server routing-fn & [port https-conf])
Start websocket server
Start websocket server
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close