Module core

Source
Expand description

The core module.

This module provides fundamental utilities needed to interface with many NGINX primitives. String conversions, the pool (memory interface) object, and buffer APIs are covered here. These utilities will generally align with the NGINX ‘core’ files and APIs.

Macros§

ngx_string
Static string initializer for ngx_str_t.

Structs§

MemoryBuffer
Wrapper struct for a memory buffer, providing methods for working with an ngx_buf_t.
NgxStr
Representation of a borrowed Nginx string.
Pool
Wrapper struct for an ngx_pool_t pointer, providing methods for working with memory pools.
Status
Status
TemporaryBuffer
Wrapper struct for a temporary buffer, providing methods for working with an ngx_buf_t.

Constants§

NGX_CONF_ERROR
NGX_CONF_ERROR - An error occurred while parsing and validating configuration.

Traits§

Buffer
The Buffer trait provides methods for working with an nginx buffer (ngx_buf_t).
MutableBuffer
The MutableBuffer trait extends the Buffer trait and provides methods for working with a mutable buffer.