(bytes->base64-str bytes)
(close-handler {:keys [endpoint] :as opts} s info open? session-id)
(consume-handler {:keys [endpoint] :as opts} s info session-id arg)
(gateway-error? t)
(handler {:keys [endpoint] :as opts} s info)
(opts->extra-headers {:keys [secret-header secret-value secret-file
secret-prefix]})
(poll {:keys [endpoint give-up-seconds warn-after-seconds] :as opts}
s
info
open?
session-id
start-poll-time)
(start-server {:keys [bind port endpoint secret-header secret-file secret-value
secret-prefix block? give-up-seconds warn-after-seconds]
:or {secret-header "authorization"
give-up-seconds 60
warn-after-seconds 5
secret-file ".secret"
bind "127.0.0.1"
secret-prefix ""
secret-value nil
port 7777
block? true}
:as opts})
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close