Crate haproxy_api

source ·
Expand description

HAProxy 2.x Lua API

Intended to be used together with mlua in a module mode.

Please see the Lua API documentation for details.

Structs

The “Channel” class contains all functions to manipulate channels.
The “Converters” class allows to call a lot of internal HAProxy sample converters.
The “Core” class contains all the HAProxy core functions.
The “Fetches” class allows to call a lot of internal HAProxy sample fetches.
Represents methods available to call in UserFilter.
The “Http” class contain all the HTTP manipulation functions.
This class contains all functions to manipulate an HTTP message. For now, this class is only available from a filter context.
The “Proxy” class provides a way for manipulating proxy and retrieving information like statistics.
The “Server” class provides a way for manipulating servers and retrieving information.
The “StickTable” class can be used to access the HAProxy stick tables.
The txn class contain all the functions relative to the http or tcp transaction.

Enums

A code that filter callback functions may return.

Traits

A trait that defines all required callback functions to implement filters.

Functions