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 & args)
source

get-keystore*clj

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

get-keystore-scheme-registryclj

(get-keystore-scheme-registry {:keys [keystore keystore-type keystore-pass
                                      keystore-instance trust-store
                                      trust-store-type trust-store-pass]
                               :as req})
source

insecure-scheme-registryclj

source

insecure-socket-factoryclj

source

make-regular-conn-managerclj

(make-regular-conn-manager {:keys [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 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

make-socks-proxied-conn-managerclj

(make-socks-proxied-conn-manager hostname port)

Given an optional hostname and a port, create a connection manager that's proxied using a SOCKS proxy.

Given an optional hostname and a port, create a connection manager that's
proxied using a SOCKS proxy.
sourceraw docstring

PlainGenericSocketFactoryclj

(PlainGenericSocketFactory socket-factory)

Given a Function that returns a new socket, create a PlainSocketFactory that will use that socket.

Given a Function that returns a new socket, create a PlainSocketFactory that
will use that socket.
sourceraw docstring

regular-scheme-registryclj

source

reusable?clj

(reusable? conn-mgr)
source

shutdown-managerclj

(shutdown-manager manager)

Shut down the given connection manager, if it is not nil

Shut down the given connection manager, if it is not nil
sourceraw docstring

socks-proxied-socketclj

(socks-proxied-socket hostname port)

Create a Socket proxied through socks, using the given hostname and port

Create a Socket proxied through socks, using the given hostname and port
sourceraw docstring

SSLGenericSocketFactoryclj

(SSLGenericSocketFactory socket-factory)

Given a function that returns a new socket, create an SSLSocketFactory that will use that socket.

Given a function that returns a new socket, create an SSLSocketFactory that
will use that socket.
sourceraw docstring

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

× close