(common-connector-config config)
Inputs: [config :- WebserverRawConfig] Returns: WebserverConnectorCommon
Inputs: [config :- WebserverRawConfig] Returns: WebserverConnectorCommon
(construct-ssl-x509-cert-chain ssl-cert ssl-cert-chain)
Inputs: [ssl-cert :- schema/Str ssl-cert-chain :- (schema/maybe schema/Str)] Returns: (schema/pred ssl/certificate-list?)
Inputs: [ssl-cert :- schema/Str ssl-cert-chain :- (schema/maybe schema/Str)] Returns: (schema/pred ssl/certificate-list?)
(contains-https-connector? config)
Inputs: [config :- WebserverRawConfig] Returns: schema/Bool
Inputs: [config :- WebserverRawConfig] Returns: schema/Bool
(contains-keys? config keys)
Inputs: [config :- WebserverRawConfig keys :- #{schema/Keyword}] Returns: schema/Bool
Inputs: [config :- WebserverRawConfig keys :- #{schema/Keyword}] Returns: schema/Bool
(execute-post-config-script! s script)
Inputs: [s :- Server script :- schema/Str]
Inputs: [s :- Server script :- schema/Str]
(get-client-auth! config)
Inputs: [config :- WebserverRawConfig] Returns: WebserverSslClientAuth
Inputs: [config :- WebserverRawConfig] Returns: WebserverSslClientAuth
(get-jks-keystore-config! {:keys [truststore keystore key-password
trust-password]})
Inputs: [{:keys [truststore keystore key-password trust-password]} :- WebserverRawConfig] Returns: WebserverSslKeystoreConfig
Inputs: [{:keys [truststore keystore key-password trust-password]} :- WebserverRawConfig] Returns: WebserverSslKeystoreConfig
(get-keystore-config! config)
Inputs: [config :- WebserverRawConfig] Returns: WebserverSslKeystoreConfig
Inputs: [config :- WebserverRawConfig] Returns: WebserverSslKeystoreConfig
(get-or-parse-sequential-config-value config key default)
Inputs: [config :- WebserverRawConfig key :- schema/Keyword default :- [schema/Str]] Returns: [schema/Str]
Some config values can be entered as either a vector of strings or a single comma-separated string. Get the value for the given config key, parsing it into a seq if it's a string, or returning a default if it's not provided.
Inputs: [config :- WebserverRawConfig key :- schema/Keyword default :- [schema/Str]] Returns: [schema/Str] Some config values can be entered as either a vector of strings or a single comma-separated string. Get the value for the given config key, parsing it into a seq if it's a string, or returning a default if it's not provided.
(get-ssl-crl-path! config)
Inputs: [config :- WebserverRawConfig] Returns: (schema/maybe schema/Str)
Inputs: [config :- WebserverRawConfig] Returns: (schema/maybe schema/Str)
(get-x509s-from-ssl-cert-chain-pem ssl-cert-chain)
Inputs: [ssl-cert-chain :- (schema/maybe schema/Str)] Returns: (schema/pred ssl/certificate-list?)
Inputs: [ssl-cert-chain :- (schema/maybe schema/Str)] Returns: (schema/pred ssl/certificate-list?)
(get-x509s-from-ssl-cert-pem ssl-cert ssl-cert-chain)
Inputs: [ssl-cert :- schema/Str ssl-cert-chain :- (schema/maybe schema/Str)] Returns: (schema/pred ssl/certificate-list?)
Inputs: [ssl-cert :- schema/Str ssl-cert-chain :- (schema/maybe schema/Str)] Returns: (schema/pred ssl/certificate-list?)
(init-log-handler config)
Inputs: [config :- WebserverRawConfig] Returns: (schema/maybe RequestLogImpl)
Inputs: [config :- WebserverRawConfig] Returns: (schema/maybe RequestLogImpl)
(maybe-add-http-connector acc config)
Inputs: [acc config :- WebserverRawConfig] Returns: {(schema/optional-key :http) WebserverConnector, schema/Keyword schema/Any}
Inputs: [acc config :- WebserverRawConfig] Returns: {(schema/optional-key :http) WebserverConnector, schema/Keyword schema/Any}
(maybe-add-https-connector acc config)
Inputs: [acc config :- WebserverRawConfig] Returns: {(schema/optional-key :https) WebserverSslConnector, schema/Keyword schema/Any}
Inputs: [acc config :- WebserverRawConfig] Returns: {(schema/optional-key :https) WebserverSslConnector, schema/Keyword schema/Any}
(maybe-get-http-connector config)
Inputs: [config :- WebserverRawConfig] Returns: (schema/maybe WebserverConnector)
Inputs: [config :- WebserverRawConfig] Returns: (schema/maybe WebserverConnector)
(maybe-get-https-connector config)
Inputs: [config :- WebserverRawConfig] Returns: (schema/maybe WebserverSslConnector)
Inputs: [config :- WebserverRawConfig] Returns: (schema/maybe WebserverSslConnector)
(maybe-get-pem-config! config)
Inputs: [config :- WebserverRawConfig] Returns: (schema/maybe WebserverSslPemConfig)
Inputs: [config :- WebserverRawConfig] Returns: (schema/maybe WebserverSslPemConfig)
(pem-ssl-config->keystore-ssl-config {:keys [ssl-ca-cert ssl-key ssl-cert
ssl-cert-chain]})
Inputs: [{:keys [ssl-ca-cert ssl-key ssl-cert ssl-cert-chain]} :- WebserverSslPemConfig] Returns: WebserverSslKeystoreConfig
Inputs: [{:keys [ssl-ca-cert ssl-key ssl-cert ssl-cert-chain]} :- WebserverSslPemConfig] Returns: WebserverSslKeystoreConfig
(process-config config)
Inputs: [config :- WebserverRawConfig] Returns: WebserverConfig
Inputs: [config :- WebserverRawConfig] Returns: WebserverConfig
(warn-if-keystore-ssl-configs-found! config)
Inputs: [config :- WebserverRawConfig]
Inputs: [config :- WebserverRawConfig]
(warn-if-so-linger-set config)
Inputs: [config :- (schema/maybe WebserverRawConfig)]
Inputs: [config :- (schema/maybe WebserverRawConfig)]
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close