Liking cljdoc? Tell your friends :D
Clojure only.

wagoe.webhooks.shell.http-transport

IWebhookTransport over Apache HttpClient: bounded connect and request timeouts, redirects and retries off, and at most max-response-bytes of the answer read.

Apache rather than java.net.http because it takes a DNS resolver: a request carrying :addresses connects to those, while the Host header, TLS SNI and certificate hostname check still use the URL's host.

`IWebhookTransport` over Apache HttpClient: bounded connect and request
timeouts, redirects and retries off, and at most `max-response-bytes` of the
answer read.

Apache rather than java.net.http because it takes a DNS resolver: a request
carrying `:addresses` connects to those, while the Host header, TLS SNI and
certificate hostname check still use the URL's host.
raw docstring

create-transportclj

(create-transport {:keys [ssl-context timeout-ms connect-timeout-ms
                          max-response-bytes]})

Settings as service/defaults gives them, plus an optional :ssl-context for the trust store (the JVM default otherwise).

Settings as `service/defaults` gives them, plus an optional `:ssl-context`
for the trust store (the JVM default otherwise).
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
←Move to previous article
→Move to next article
Ctrl+/Jump to the search field
× close