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)

cached-header-keys

coerce-element

(coerce-element ch x)

empty-last-content

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.

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-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)