(create-server {:as options
:keys [port max-threads min-threads threadpool-idle-timeout
job-queue daemon? max-idle-time host ssl? ssl-port http?
proxy? thread-pool]
:or {max-threads 50
max-idle-time 200000
job-queue nil
threadpool-idle-timeout 60000
port 3000
min-threads 8
daemon? false
ssl? false
http? true
proxy? false}})
(gzip-configurator server content-types)
(http-config {:keys [ssl-port secure-scheme output-buffer-size
request-header-size response-header-size
send-server-version? send-date-header? header-cache-size
sni-required? sni-host-check?]
:or {output-buffer-size 32768
send-server-version? true
secure-scheme "https"
ssl-port 443
sni-host-check? true
response-header-size 8192
sni-required? false
header-cache-size 512
request-header-size 8192
send-date-header? false}})
(http-connector server http-configuration port host max-idle-time proxy?)
(http-forwarded-configurator server)
(https-connector server
http-configuration
ssl-context-factory
port
host
max-idle-time)
(ssl-context-factory
{:keys [keystore keystore-type key-password client-auth key-manager-password
truststore trust-password truststore-type ssl-protocols ssl-provider
exclude-ciphers replace-exclude-ciphers? exclude-protocols
replace-exclude-protocols? ssl-context]})
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close