Liking cljdoc? Tell your friends :D

net.http

Functions common to HTTP clients and servers

Functions common to HTTP clients and servers
raw docstring

->paramsclj

(->params dx)

Create a param map from a Netty QueryStringDecoder

Create a param map from a Netty QueryStringDecoder
sourceraw docstring

->requestclj

(->request msg)

Create a request map from a Netty Http Request

Create a request map from a Netty Http Request
sourceraw docstring

continue-responseclj

(continue-response version)
source

data->responseclj

(data->response {:keys [status headers]} version)

Create a valid HttpResponse from a response map.

Create a valid HttpResponse from a response map.
sourceraw docstring

epoll?clj

(epoll?)

Find out if epoll is available on the underlying platform.

Find out if epoll is available on the underlying platform.
sourceraw docstring

http-contentclj

(http-content buf)
source

int->statusclj

(int->status status)

Get a Netty HttpResponseStatus from a int

Get a Netty HttpResponseStatus from a int
sourceraw docstring

last-http-contentclj

Empty Last Http Content

Empty Last Http Content
sourceraw docstring

last-http-content?clj

(last-http-content? msg)

Are we dealing with an instance of LastHttpContent

Are we dealing with an instance of LastHttpContent
sourceraw docstring

log-levelsclj

Keyword to level map used as a helper when setting up log handlers.

Keyword to level map used as a helper when
setting up log handlers.
sourceraw docstring

logging-reclj

source

make-boss-groupclj

(make-boss-group {:keys [loop-thread-count disable-epoll]})

Create an event loop group. Try setting up an epoll event loop group unless either instructed not to do so or it is no available.

Create an event loop group. Try setting up an epoll event loop group
unless either instructed not to do so or it is no available.
sourceraw docstring

method->dataclj

Yield a keyword representing an HTTP method.

Yield a keyword representing an HTTP method.
sourceraw docstring

optimal-client-channelclj

(optimal-client-channel disable-epoll?)

Figure out which client channel to use

Figure out which client channel to use
sourceraw docstring

protocol-versionclj

(protocol-version msg)
source

qs->paramsclj

(qs->params qs)

Extract parameters from a x-www-form-urlencoded string

Extract parameters from a x-www-form-urlencoded string
sourceraw docstring

set-log-handler!clj

(set-log-handler! bootstrap {:keys [logging]})

Add log hander to a bootstrap

Add log hander to a bootstrap
sourceraw docstring

set-optimal-server-channel!clj

(set-optimal-server-channel! bs disable-epoll?)

Add optimal channel to a server bootstrap

Add optimal channel to a server bootstrap
sourceraw docstring

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

× close