Liking cljdoc? Tell your friends :D

aleph.http.core


->NettyRequestclj

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

->NettyResponseclj

(->NettyResponse rsp complete body)
source

attach-heartbeats-handlerclj

(attach-heartbeats-handler pipeline heartbeats)
source

attach-idle-handlersclj

(attach-idle-handlers pipeline idle-timeout)
source

cached-header-keysclj

source

chunked-writer-enabled?clj

(chunked-writer-enabled? ch)
source

close-empty-status-codeclj

source

close-on-idle-handlerclj

(close-on-idle-handler)
source

coerce-elementclj

(coerce-element x)
source

default-chunk-sizeclj

source

empty-last-contentclj

source

handle-heartbeatclj

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

has-content-length?clj

(has-content-length? msg)
source

headers->mapclj

(headers->map h)
source

http-fileclj

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

map->headers!clj

(map->headers! h m)
source

netty-request->ring-requestclj

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

netty-response->ring-responseclj

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

non-standard-keysclj

source

normalize-header-keyclj

(normalize-header-key s)

Normalizes a header key to Ab-Cd format.

Normalizes a header key to `Ab-Cd` format.
sourceraw docstring

resolve-pings!clj

(resolve-pings! pending-pings v)
source

ring-request->full-netty-requestclj

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

ring-request->netty-requestclj

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

ring-request-ssl-sessionclj

(ring-request-ssl-session req)
source

ring-response->netty-responseclj

(ring-response->netty-response m)
source

send-chunked-bodyclj

(send-chunked-body ch msg body)
source

send-chunked-fileclj

(send-chunked-file ch msg file)
source

send-contiguous-bodyclj

(send-contiguous-body ch msg body)
source

send-file-bodyclj

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

send-file-regionclj

(send-file-region ch msg file)
source

send-messageclj

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

Write an HttpMessage and body to a Netty channel.

Accepts Strings, ByteBuffers, ByteBufs, byte[], ChunkedInputs, Files, Paths, HttpFiles, seqs and streams for bodies.

Seqs and streams must be, or be coercible to, a stream of ByteBufs.

Write an HttpMessage and body to a Netty channel.

Accepts Strings, ByteBuffers, ByteBufs, byte[], ChunkedInputs,
Files, Paths, HttpFiles, seqs and streams for bodies.

Seqs and streams must be, or be coercible to, a stream of ByteBufs.
sourceraw docstring

send-streaming-bodyclj

(send-streaming-body ch msg body)
source

try-set-content-length!clj

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

websocket-close!clj

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

websocket-message-coerce-fnclj

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

websocket-pingclj

(websocket-ping conn d' data)
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close