Liking cljdoc? Tell your friends :D

clj-http.conn-mgr

Utility methods for Scheme registries and HTTP connection managers

Utility methods for Scheme registries and HTTP connection managers
raw docstring

*connection-manager*clj

connection manager to be rebound during request execution

connection manager to be rebound during request execution
sourceraw docstring

dmcprclj

source

get-keystoreclj

(get-keystore keystore-file keystore-type keystore-pass)
source

get-keystore-scheme-registryclj

(get-keystore-scheme-registry {:keys [keystore keystore-type keystore-pass
                                      trust-store trust-store-type
                                      trust-store-pass insecure?]})
source

insecure-scheme-registryclj

source

insecure-socket-factoryclj

source

make-regular-conn-managerclj

(make-regular-conn-manager {:keys [insecure? keystore trust-store] :as req})
source

make-reusable-conn-managerclj

(make-reusable-conn-manager opts)

Creates a default pooling connection manager with the specified options.

The following options are supported:

:timeout - Time that connections are left open before automatically closing default: 5 :threads - Maximum number of threads that will be used for connecting default: 4 :default-per-route - Maximum number of simultaneous connections per host default: 2 :insecure? - Boolean flag to specify allowing insecure HTTPS connections default: false

:keystore - keystore file to be used for connection manager :keystore-pass - keystore password :trust-store - trust store file to be used for connection manager :trust-store-pass - trust store password

Note that :insecure? and :keystore/:trust-store options are mutually exclusive

If the value 'nil' is specified or the value is not set, the default value will be used.

Creates a default pooling connection manager with the specified options.

The following options are supported:

:timeout - Time that connections are left open before automatically closing
  default: 5
:threads - Maximum number of threads that will be used for connecting
  default: 4
:default-per-route - Maximum number of simultaneous connections per host
  default: 2
:insecure? - Boolean flag to specify allowing insecure HTTPS connections
  default: false

:keystore - keystore file to be used for connection manager
:keystore-pass - keystore password
:trust-store - trust store file to be used for connection manager
:trust-store-pass - trust store password

Note that :insecure? and :keystore/:trust-store options are mutually exclusive

If the value 'nil' is specified or the value is not set, the default value
will be used.
sourceraw docstring

make-reusable-conn-manager*clj

(make-reusable-conn-manager* {:keys [timeout insecure? keystore trust-store]
                              :as config})

Given an timeout and optional insecure? flag, create a PoolingClientConnectionManager with <timeout> seconds set as the timeout value.

Given an timeout and optional insecure? flag, create a
PoolingClientConnectionManager with <timeout> seconds set as the
timeout value.
sourceraw docstring

regular-scheme-registryclj

source

shutdown-managerclj

(shutdown-manager manager)

Define function to shutdown manager

Define function to shutdown manager
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close