(create-conn-pool)(create-conn-pool decompress-content?)Creates a connection pool. Decompresses compressed response streams if
decompress-content? is true. Defaults to false. Returns the connection
pool.
Creates a connection pool. Decompresses compressed response streams if `decompress-content?` is `true`. Defaults to `false`. Returns the connection pool.
(create-handler proxy-req)Given a map of request options which are merged with the received request
map, returns a proxy handler. Extends the request map such that
:sni-server-name may be provided to indicate the server-name sent with
secure requests. Returns the handler wrapped in convenience middleware.
Given a map of request options which are merged with the received request map, returns a proxy handler. Extends the request map such that `:sni-server-name` may be provided to indicate the server-name sent with secure requests. Returns the handler wrapped in convenience middleware.
(create-sni-conn-pool server-name)(create-sni-conn-pool server-name decompress-content?)Creates a connection pool for a given server-name with Server Name
Indication provided. Decompresses compressed response streams if
decompress-content? is true. Defaults to false. Returns the connection
pool.
Creates a connection pool for a given `server-name` with Server Name Indication provided. Decompresses compressed response streams if `decompress-content?` is `true`. Defaults to `false`. Returns the connection pool.
(get-pool sni-server-name decompress-content?)Returns a connection pool configured according to sni-server-name and
decompress-content?.
Returns a connection pool configured according to `sni-server-name` and `decompress-content?`.
(proxy-request {:keys [scheme server-name sni-server-name uri url
decompress-content?]
:or {decompress-content? false}
:as req})Given a request map, makes an HTTP request via this map, and returns a deferred representing the response.
Given a request map, makes an HTTP request via this map, and returns a deferred representing the response.
(start-server handler options)Starts an HTTP server using the provided Ring handler. Returns a server
object.
Starts an HTTP server using the provided Ring `handler`. Returns a server object.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |