HttpConnectionHandler.this

Constructor

Uses the default request message parser/response generator settings. That means, the request parser will be set up for request methods without a message body, such as GET or HEAD (in contrast to POST or PUT which have a message body).

  1. this(EpollSelectDispatcher dispatcher, FinalizeDg finalizer, size_t stack_size, HttpMethod[] supported_methods)
    class HttpConnectionHandler
    protected
    this
    (
    EpollSelectDispatcher dispatcher
    ,
    scope FinalizeDg finalizer
    ,
    size_t stack_size
    ,)
  2. this(EpollSelectDispatcher dispatcher, FinalizeDg finalizer, size_t stack_size, HttpRequest request, HttpResponse response, HttpMethod[] supported_methods)

Parameters

dispatcher EpollSelectDispatcher

select dispatcher instance to register to

finalizer FinalizeDg

called when the connection is shut down (optional, may be null)

stack_size size_t

fiber stack size, use HttpConnectionHandler.default_stack_size for the default value

supported_methods HttpMethod[]

list of supported HTTP methods

Meta