aleph.http.core

->HeaderMap

(->HeaderMap headers added removed mta)
Positional factory function for class aleph.http.core.HeaderMap.

->NettyRequest

(->NettyRequest req ssl? ch websocket? question-mark-index body)

->NettyResponse

(->NettyResponse rsp complete body)

->WebsocketPing

(->WebsocketPing deferred payload)
Positional factory function for class aleph.http.core.WebsocketPing.

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-on-idle-handler

(close-on-idle-handler)

coerce-element

(coerce-element x)

empty-last-content

handle-heartbeat

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

has-content-length?

(has-content-length? msg)

headers->map

(headers->map h)

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-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-message-coerce-fn

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

websocket-ping

(websocket-ping conn d' data)