Module http

Source
Expand description

The http module.

This modules provides wrappers and utilities to NGINX http APIs, such as requests, configuration access, and statuses.

Macros§

http_request_handler
Define a static request handler.
http_subrequest_handler
Define a static post subrequest handler.
http_variable_get
Define a static variable evaluator.
http_variable_set
Define a static variable setter.

Structs§

HTTPStatus
Represents an HTTP status code.
InvalidHTTPStatusCode
A possible error value when converting a HTTPStatus from a u16 or &str
InvalidMethod
A possible error value when converting Method
Method
Request method verb
NgxHttpCoreModule
Auxiliary structure to access ngx_http_core_module configuration.
NgxHttpSslModule
Auxiliary structure to access ngx_http_ssl_module configuration.
NgxHttpUpstreamModule
Auxiliary structure to access ngx_http_upstream_module configuration.
NgxHttpV2Module
Auxiliary structure to access ngx_http_v2_module configuration.
NgxListIterator
Iterator for ngx_list_t types.
Request
Wrapper struct for an ngx_http_request_t pointer, providing methods for working with HTTP requests.

Enums§

MergeConfigError
MergeConfigError - configuration cannot be merged with levels above.

Traits§

HttpModule
The HTTPModule trait provides the NGINX configuration stage interface.
HttpModuleConfExt
Utility trait for types containing HTTP module configuration
HttpModuleLocationConf
Trait to define and access location-specific module configuration
HttpModuleMainConf
Trait to define and access main module configuration
HttpModuleServerConf
Trait to define and access server-specific module configuration
Merge
The Merge trait provides a method for merging configuration down through each level.

Functions§

list_iterator
Creates new HTTP header iterator