io.pedestal.http.immutant.websockets

add-ws-endpoints

(add-ws-endpoints request ws-paths)

make-ws-listener

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

start-ws-connection

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