Liking cljdoc? Tell your friends :D

slipway.impl.server

Fns to create an org.eclipse.jetty.server.Server instance that conforms to the options map specified in the slipway README.

Derived from:

Fns to create an org.eclipse.jetty.server.Server instance that conforms to the options map specified in the slipway README.

Derived from:
  * https://github.com/sunng87/ring-jetty9-adapter/blob/master/src/ring/adapter/jetty9.clj
  * https://github.com/ring-clojure/ring/blob/master/ring-jetty-adapter/src/ring/adapter/jetty.clj
raw docstring

create-serverclj

(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-configuratorclj

(gzip-configurator server content-types min-gzip-size)

http-configclj

(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-connectorclj

(http-connector server http-configuration port host max-idle-time proxy?)

http-forwarded-configuratorclj

(http-forwarded-configurator server)

https-connectorclj

(https-connector server
                 http-configuration
                 ssl-context-factory
                 port
                 host
                 max-idle-time)

ssl-context-factoryclj

(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