aleph.http.core

attach-heartbeats-handler

(attach-heartbeats-handler pipeline heartbeats)

attach-idle-handlers

(attach-idle-handlers pipeline idle-timeout)

cached-header-keys

chunked-writer-enabled?

(chunked-writer-enabled? ch)

close-empty-status-code

close-on-idle-handler

(close-on-idle-handler)

coerce-element

(coerce-element x)

default-chunk-size

empty-last-content

handle-heartbeat

(handle-heartbeat ctx conn {:keys [payload timeout]})

has-content-length?

(has-content-length? msg)

headers->map

(headers->map h)

http-file

(http-file path)(http-file path offset length)(http-file path offset length chunk-size)

map->headers!

(map->headers! h m)

netty-request->ring-request

(netty-request->ring-request req ssl? ch body)

netty-response->ring-response

(netty-response->ring-response rsp complete body)

non-standard-keys

normalize-header-key

(normalize-header-key s)
Normalizes a header key to `Ab-Cd` format.

resolve-pings!

(resolve-pings! pending-pings v)

ring-request->full-netty-request

(ring-request->full-netty-request m)

ring-request->netty-request

(ring-request->netty-request m)

ring-request-ssl-session

(ring-request-ssl-session req)

ring-response->netty-response

(ring-response->netty-response m)

send-chunked-body

(send-chunked-body ch msg body)

send-chunked-file

(send-chunked-file ch msg file)

send-contiguous-body

(send-contiguous-body ch msg body)

send-file-body

(send-file-body ch ssl? msg file)

send-file-region

(send-file-region ch msg file)

send-message

(send-message ch keep-alive? ssl? msg body)

send-streaming-body

(send-streaming-body ch msg body)

try-set-content-length!

(try-set-content-length! msg length)

websocket-close!

(websocket-close! conn status-code reason-text d')

websocket-message-coerce-fn

(websocket-message-coerce-fn ch pending-pings)(websocket-message-coerce-fn ch pending-pings close-handshake-fn)

websocket-ping

(websocket-ping conn d' data)