Module config

Module config 

Source
Expand description

Configuration for http service middlewares.

Structs§

HttpServiceConfig

Constants§

DEFAULT_HEADER_LIMIT
The default maximum request header fields possible for one request.
DEFAULT_READ_BUF_LIMIT
The default maximum read buffer size. If the head gets this big and a message is still not complete, a TooLarge error is triggered.
DEFAULT_WRITE_BUF_LIMIT
The default maximum write buffer size. If the buffer gets this big and a message is still not complete, a force draining of Io stream write would happen.