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 request failed while receiving the header
A function to be evaluated, when response has been sending result to client.
default handler for parsing request errors *
default handler for failures of sending request/response *