Functions common to HTTP clients and servers
Functions common to HTTP clients and servers
(->params dx)
Create a param map from a Netty QueryStringDecoder
Create a param map from a Netty QueryStringDecoder
(->request msg)
Create a request map from a Netty Http Request
Create a request map from a Netty Http Request
(data->response {:keys [status headers]} version)
Create a valid HttpResponse from a response map.
Create a valid HttpResponse from a response map.
(epoll?)
Find out if epoll is available on the underlying platform.
Find out if epoll is available on the underlying platform.
(int->status status)
Get a Netty HttpResponseStatus from a int
Get a Netty HttpResponseStatus from a int
(last-http-content? msg)
Are we dealing with an instance of LastHttpContent
Are we dealing with an instance of LastHttpContent
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.
(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.
Yield a keyword representing an HTTP method.
Yield a keyword representing an HTTP method.
(optimal-client-channel disable-epoll?)
Figure out which client channel to use
Figure out which client channel to use
(qs->params qs)
Extract parameters from a x-www-form-urlencoded string
Extract parameters from a x-www-form-urlencoded string
(set-log-handler! bootstrap {:keys [logging]})
Add log hander to a bootstrap
Add log hander to a bootstrap
(set-optimal-server-channel! bs disable-epoll?)
Add optimal channel to a server bootstrap
Add optimal channel to a server bootstrap
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close