Creates simple http server,
Creates simple http server,
Serve will run after the resulting stream is run.
Maximum requests to process concurrently
Receive buffer size for each connection
Maximum size of http header for incoming requests, in bytes
A timeout to await request header to be fully received. Request will fail, if the header won't be read within this timeout.
Codec for Http Request Header
Address and port where to bind server to
Pipe that defines handling of each incoming request and produces a response
A function to be evaluated when server failed to read the request header.
This may generate the default server response on unexpected failure.
This is also evaluated when the server failed to process the request itself (i.e. service
did not handle the failure )
A function to be evaluated on failure to process the the response. Request is not suplied if failure happened before request was constructed.
default handler for parsing request errors *
default handler for failures of sending request/response *