(<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)
(<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)
(<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)
(<connection-loop rcv-ch conn unprocessed-ba *open? *server-running?)
(<keepalive-loop conn keepalive-interval-secs *open? *server-running?)
(<rcv-loop async-nio-ch rcv-ch close-conn! *open? *server-running?)
(<send-ba! async-nio-ch ba)
(<send-data! {:keys [async-nio-ch data max-payload-len msg-type]})
(<send-loop {:keys [*open? *server-running? async-nio-ch close-conn!
max-payload-len send-ch]})
(async-nio-ch-group)
(check-config config)
(choose-protocol client-protcols-set prioritized-protocols-seq)
(completion-handler on-completed on-failed)
(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?)
(make-cert cert-str)
(make-conn {:keys [close-conn! conn-id path protocol remote-address send-ch]})
(make-group ssl-ctx)
(make-private-key pkey-str)
(make-ssl-ctx cert-str pkey-str)
(make-upgrade-rsp req-info protocol)
(request-info {:keys [headers first-line]} remote-address conn-id)
(send! conn data)
(send! conn data cb)
(send-ba! async-nio-ch ba cb)
(send-ping! conn)
(send-ping! conn payload-ba)
(set-on-message! conn f)
(set-on-ping! conn f)
(set-on-pong! conn f)
(stop! server)
(str->input-stream s)
(ws-server config)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close