Liking cljdoc? Tell your friends :D

s-exp.hirundo.websocket


close!clj

(close! ws-session code reason)

Closes socket with int code and reason

Closes socket with int `code` and `reason`
raw docstring

ping!clj

(ping! ws-session data)

Sends PING response with optional data to client

Sends PING response with optional `data` to client
raw docstring

pong!clj

(pong! ws-session data)

Sends PONG response with optional data to client

Sends PONG response with optional `data` to client
raw docstring

send!clj

(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
raw docstring

terminate!clj

(terminate! ws-session)

Terminates connection

Terminates connection
raw docstring

ToBufferDatacljprotocol

buffer-dataclj

(buffer-data x)

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close