Liking cljdoc? Tell your friends :D

deercreeklabs.tube.connection


Connectioncljs

source

IConnectionclj/s≠protocol

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

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

set-on-rcvclj/s

(set-on-rcv this on-rcv)

Set the receive handler

Set the receive handler

on-disconnect*clj/s

(on-disconnect* this code reason)

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)

set-on-disconnectclj/s

(set-on-disconnect this on-disconnect)

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

make-connectionclj/s

(make-connection conn-id
                 uri
                 remote-addr
                 on-connect
                 sender
                 closer
                 fragment-size
                 compression-type
                 client?)
(make-connection conn-id
                 uri
                 remote-addr
                 on-connect
                 sender
                 closer
                 fragment-size
                 compression-type
                 client?
                 on-rcv)
source

make-control-codeclj/s

(make-control-code x)
source

max-num-fragmentsclj/s

source

ping-control-codeclj/s

source

pong-control-codeclj/s

source

send*clj/s

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

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

× close