aleph.http.client

client-handler

(client-handler response-stream buffer-capacity)

close-connection

(close-connection f)

http-connection

(http-connection remote-address ssl? {:keys [local-address raw-stream? bootstrap-transform name-resolver keep-alive? insecure? ssl-context response-buffer-size on-closed response-executor epoll? proxy-options], :or {bootstrap-transform identity, keep-alive? true, response-buffer-size 65536, epoll? false, name-resolver :default}, :as options})

http-proxy-handler

(http-proxy-handler address {:keys [user password http-headers tunnel? keep-alive? ssl?], :or {keep-alive? true}, :as options})

http-proxy-headers

(http-proxy-headers {:keys [http-headers keep-alive?], :or {http-headers {}, keep-alive? true}})

non-tunnel-proxy?

(non-tunnel-proxy? {:keys [tunnel? user http-headers ssl?], :as proxy-options})

pending-proxy-connection-handler

(pending-proxy-connection-handler response-stream)

pipeline-builder

(pipeline-builder response-stream {:keys [pipeline-transform response-buffer-size max-initial-line-length max-header-size max-chunk-size raw-stream? proxy-options ssl? idle-timeout log-activity], :or {pipeline-transform identity, response-buffer-size 65536, max-initial-line-length 65536, max-header-size 65536, max-chunk-size 65536, idle-timeout 0}})

proxy-handler

(proxy-handler {:keys [host port protocol user password connection-timeout], :or {protocol :http, connection-timeout 60000.0}, :as options})

raw-client-handler

(raw-client-handler response-stream buffer-capacity)

req->domain

(req->domain req)

req->proxy-url

(req->proxy-url {:keys [uri], :as req})

websocket-client-handler

(websocket-client-handler raw-stream? uri sub-protocols extensions? headers max-frame-payload)(websocket-client-handler raw-stream? uri sub-protocols extensions? headers max-frame-payload heartbeats)

websocket-connection

(websocket-connection uri {:keys [raw-stream? insecure? ssl-context headers local-address bootstrap-transform pipeline-transform epoll? sub-protocols extensions? max-frame-payload max-frame-size compression? heartbeats], :or {sub-protocols nil, pipeline-transform identity, extensions? false, bootstrap-transform identity, raw-stream? false, max-frame-payload 65536, epoll? false, max-frame-size 1048576, compression? false}, :as options})

websocket-frame-size

(websocket-frame-size frame)

websocket-handshaker

(websocket-handshaker uri sub-protocols extensions? headers max-frame-payload)