Liking cljdoc? Tell your friends :D

deercreeklabs.tube.connection


Connectioncljs


connectionclj/s

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

IConnectionclj/sprotocol

get-uriclj/s

(get-uri this)

handle-dataclj/s

(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!clj/s

(set-on-rcv! this on-rcv)

Set the receive handler

Set the receive handler

get-remote-addrclj/s

(get-remote-addr this)

get-conn-idclj/s

(get-conn-id this)

Return the connection id

Return the connection id

handle-msg-in-flight*clj/s

(handle-msg-in-flight* this data)

Internal use only

Internal use only

handle-ready-end*clj/s

(handle-ready-end* this data compressed?)

Internal use only

Internal use only

get-stateclj/s

(get-state this)

Return the state for this connection

Return the state for this connection

handle-connected*clj/s

(handle-connected* this data)

Internal use only

Internal use only

send-pingclj/s

(send-ping this)

Send a tube-specific ping (not an RFC6455 ping)

Send a tube-specific ping (not an RFC6455 ping)

closeclj/s

(close this)
(close this code reason ws-already-closed?)

Close this connection

Close this connection

handle-ready*clj/s

(handle-ready* this data)

Internal use only

Internal use only

sendclj/s

(send this data)

Send binary bytes over this connection

Send binary bytes over this connection

send-pongclj/s

(send-pong this)

Send a tube-specific pong (not an RFC6455 pong)

Send a tube-specific pong (not an RFC6455 pong)

max-num-fragmentsclj/s


ping-control-codeclj/s


pong-control-codeclj/s


send*clj/s

(send* conn data compress *peer-fragment-size sender)

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

× close