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§
- HTTP
Status - Represents an HTTP status code.
- InvalidHTTP
Status Code - A possible error value when converting a
HTTPStatus
from au16
or&str
- Invalid
Method - A possible error value when converting
Method
- Method
- Request method verb
- NgxHttp
Core Module - Auxiliary structure to access
ngx_http_core_module
configuration. - NgxHttp
SslModule - Auxiliary structure to access
ngx_http_ssl_module
configuration. - NgxHttp
Upstream Module - Auxiliary structure to access
ngx_http_upstream_module
configuration. - NgxHttp
V2Module - Auxiliary structure to access
ngx_http_v2_module
configuration. - NgxList
Iterator - Iterator for
ngx_list_t
types. - Request
- Wrapper struct for an
ngx_http_request_t
pointer, providing methods for working with HTTP requests.
Enums§
- Merge
Config Error - MergeConfigError - configuration cannot be merged with levels above.
Traits§
- Http
Module - The
HTTPModule
trait provides the NGINX configuration stage interface. - Http
Module Conf Ext - Utility trait for types containing HTTP module configuration
- Http
Module Location Conf - Trait to define and access location-specific module configuration
- Http
Module Main Conf - Trait to define and access main module configuration
- Http
Module Server Conf - 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