(close! ws-session code reason)Closes socket with int code and reason
Closes socket with int `code` and `reason`
(ping! ws-session data)Sends PING response with optional data to client
Sends PING response with optional `data` to client
(pong! ws-session data)Sends PONG response with optional data to client
Sends PONG response with optional `data` to client
(send! ws-session msg last)Sends msg fragment over socket, if last is true this will be considered
the last fragment
Sends `msg` fragment over socket, if `last` is true this will be considered the last fragment
(buffer-data x)cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |