(connection conn-id
uri
remote-addr
on-connect
conn-req
*conn-count
sender
closer
fragment-size
compression-type
client?)
(connection conn-id
uri
remote-addr
on-connect
conn-req
*conn-count
sender
closer
fragment-size
compression-type
client?
on-rcv)
(get-uri this)
(handle-data this data)
The network layer calls this on receipt of data
The network layer calls this on receipt of data
(set-on-rcv! this on-rcv)
Set the receive handler
Set the receive handler
(get-remote-addr this)
(get-conn-id this)
Return the connection id
Return the connection id
(handle-msg-in-flight* this data)
Internal use only
Internal use only
(handle-ready-end* this data compressed?)
Internal use only
Internal use only
(get-state this)
Return the state for this connection
Return the state for this connection
(handle-connected* this data)
Internal use only
Internal use only
(send-ping this)
Send a tube-specific ping (not an RFC6455 ping)
Send a tube-specific ping (not an RFC6455 ping)
(close this)
(close this code reason ws-already-closed?)
Close this connection
Close this connection
(handle-ready* this data)
Internal use only
Internal use only
(send this data)
Send binary bytes over this connection
Send binary bytes over this connection
(send-pong this)
Send a tube-specific pong (not an RFC6455 pong)
Send a tube-specific pong (not an RFC6455 pong)
(send* conn data compress *peer-fragment-size sender)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close