Liking cljdoc? Tell your friends :D

io.pedestal.http.immutant.websockets


add-ws-endpointsclj

(add-ws-endpoints request ws-paths)

make-ws-listenerclj

(make-ws-listener ws-map)

Creates an Immutant listener (map) for a WebSocket connection. Note that on-text and on-binary will override each other in this implementation, and you should use on-message if you need a single handler to fulfill both binary and text messages.

Creates an Immutant listener (map) for a WebSocket connection.
Note that on-text and on-binary will override each other in this implementation,
and you should use on-message if you need a single handler to fulfill both binary
and text messages.
raw docstring

start-ws-connectionclj

(start-ws-connection on-connect-fn)
(start-ws-connection on-connect-fn send-buffer-or-n)

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

× close