class type http_processor_config = object
.. end
Inherits
method config_timeout_next_request : float
Timeout in seconds to wait for the next request after the previous one
has been completely received. (-1) means no timeout.
method config_timeout : float
General timeout until new data arrives. (-1) means no timeout.
method config_cgi : Netcgi1_compat.Netcgi_env.cgi_config
The CGI configuration to use in the Netcgi environment
method config_error_response : int -> string
Get HTML error text for the HTTP status code. Must return a generic
text for unknown codes.
method config_log_error : Unix.sockaddr option ->
Unix.sockaddr option ->
Nethttp.http_method option -> Nethttp.http_header option -> string -> unit
The function logs an error message. Arguments are:
- Our socket address
- Peer's socket address
- Request method
- Request header
- Message