Liking cljdoc? Tell your friends :D

com.deercreeklabs.talk2.ws-server


<connectclj

(<connect async-nio-ch
          rcv-ch
          send-ch
          remote-address
          conn-id
          *open?
          *server-running?
          close-conn!
          on-connect
          max-payload-len
          disable-keepalive?
          keepalive-interval-secs
          prioritized-protocols-seq
          log-improper-upgrade-requests?)

<connection-loopclj

(<connection-loop rcv-ch conn unprocessed-ba *open? *server-running?)

<keepalive-loopclj

(<keepalive-loop conn keepalive-interval-secs *open? *server-running?)

<rcv-loopclj

(<rcv-loop async-nio-ch rcv-ch close-conn! *open? *server-running?)

<send-ba!clj

(<send-ba! async-nio-ch ba)

<send-data!clj

(<send-data! {:keys [async-nio-ch data max-payload-len msg-type]})

<send-loopclj

(<send-loop {:keys [*open? *server-running? async-nio-ch close-conn!
                    max-payload-len send-ch]})

accept-loop-non-tlsclj

(accept-loop-non-tls port
                     group
                     *next-conn-id
                     *server-running?
                     stop-server!
                     on-connect
                     on-disconnect
                     max-payload-len
                     disable-keepalive?
                     keepalive-interval-secs
                     prioritized-protocols-seq
                     log-improper-upgrade-requests?)

accept-loop-tlsclj

(accept-loop-tls port
                 group
                 *next-conn-id
                 *server-running?
                 stop-server!
                 on-connect
                 on-disconnect
                 max-payload-len
                 disable-keepalive?
                 keepalive-interval-secs
                 prioritized-protocols-seq
                 log-improper-upgrade-requests?)

async-nio-ch-groupclj

(async-nio-ch-group)

check-configclj

(check-config config)

choose-protocolclj

(choose-protocol client-protcols-set prioritized-protocols-seq)

completion-handlerclj

(completion-handler on-completed on-failed)

do-connect!clj

(do-connect! async-nio-ch
             remote-address
             on-connect
             on-disconnect
             max-payload-len
             disable-keepalive?
             keepalive-interval-secs
             prioritized-protocols-seq
             *next-conn-id
             *server-running?
             log-improper-upgrade-requests?)

make-certclj

(make-cert cert-str)

make-connclj

(make-conn {:keys [close-conn! conn-id path protocol remote-address send-ch]})

make-groupclj

(make-group ssl-ctx)

make-private-keyclj

(make-private-key pkey-str)

make-ssl-ctxclj

(make-ssl-ctx cert-str pkey-str)

make-upgrade-rspclj

(make-upgrade-rsp req-info protocol)

request-infoclj

(request-info {:keys [headers first-line]} remote-address conn-id)

send!clj

(send! conn data)
(send! conn data cb)

send-ba!clj

(send-ba! async-nio-ch ba cb)

send-ping!clj

(send-ping! conn)
(send-ping! conn payload-ba)

set-on-message!clj

(set-on-message! conn f)

set-on-ping!clj

(set-on-ping! conn f)

set-on-pong!clj

(set-on-pong! conn f)

stop!clj

(stop! server)

str->input-streamclj

(str->input-stream s)

ws-serverclj

(ws-server config)

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

× close