Skip to main content

Module config

Module config 

Source

Structs§

CompressionConfig
Response compression configuration.
HookConfig
One [[http.hooks]] entry.
HttpConfig
HTTP plugin configuration.
TlsConfig
TLS certificate + key paths.

Enums§

CompressionAlgorithm
HookErrorBehavior
What to do when a sync hook fails (Lua error or timeout).
HookMode
Whether a hook runs synchronously (in the request critical path) or asynchronously (fire-and-forget, outside the critical path).

Functions§

parse_byte_size
Parse a human-readable byte size: “10mb”, “512kb”, “1gb”, “256b”, or a plain integer. Case-insensitive. Accepts both “mb” and “mib” (binary interpretation throughout).