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
HTTPStatusfrom au16or&str - Invalid
Method - A possible error value when converting
Method - Method
- Request method verb
- NgxHttp
Core Module - Auxiliary structure to access
ngx_http_core_moduleconfiguration. - NgxHttp
SslModule - Auxiliary structure to access
ngx_http_ssl_moduleconfiguration. - NgxHttp
Upstream Module - Auxiliary structure to access
ngx_http_upstream_moduleconfiguration. - NgxHttp
V2Module - Auxiliary structure to access
ngx_http_v2_moduleconfiguration. - NgxList
Iterator - Iterator for
ngx_list_ttypes. - Request
- Wrapper struct for an
ngx_http_request_tpointer, providing methods for working with HTTP requests.
Enums§
- Merge
Config Error - MergeConfigError - configuration cannot be merged with levels above.
Traits§
- Http
Module - The
HTTPModuletrait 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
Mergetrait provides a method for merging configuration down through each level.
Functions§
- list_
iterator ⚠ - Creates new HTTP header iterator