aleph.http.server

date-format

date-header-value

(date-header-value ctx)

date-value

error-response

(error-response e)

exception-handler

(exception-handler ctx ex)

handle-request

(handle-request ctx ssl? handler rejected-handler executor req previous-response body keep-alive?)

initialize-websocket-handler

(initialize-websocket-handler req {:keys [raw-stream? headers max-frame-payload max-frame-size allow-extensions?], :or {raw-stream? false, max-frame-payload 65536, max-frame-size 1048576, allow-extensions? false}, :as options})

invalid-request?

(invalid-request? req)

invalid-value-response

(invalid-value-response req x)

pipeline-builder

(pipeline-builder handler pipeline-transform {:keys [executor rejected-handler request-buffer-size max-initial-line-length max-header-size max-chunk-size raw-stream? ssl? compression?], :or {request-buffer-size 16384, max-initial-line-length 8192, max-header-size 8192, max-chunk-size 16384, compression? false}})

raw-ring-handler

(raw-ring-handler ssl? handler rejected-handler executor buffer-capacity)

reject-invalid-request

(reject-invalid-request ctx req)

rfc-1123-date-string

(rfc-1123-date-string)

ring-handler

(ring-handler ssl? handler rejected-handler executor buffer-capacity)

send-response

(send-response ctx keep-alive? ssl? rsp)

start-server

(start-server handler {:keys [port socket-address executor raw-stream? bootstrap-transform pipeline-transform ssl-context shutdown-executor? rejected-handler epoll? compression?], :or {bootstrap-transform identity, pipeline-transform identity, shutdown-executor? true, epoll? false, compression? false}, :as options})

websocket-server-handler

(websocket-server-handler raw-stream? ch handshaker)