Struct haproxy_api::Txn [−][src]
pub struct Txn<'lua> {
pub c: Converters<'lua>,
pub f: Fetches<'lua>,
// some fields omitted
}
Expand description
The txn class contain all the functions relative to the http or tcp transaction.
Fields
c: Converters<'lua>
f: Fetches<'lua>
Implementations
Sends a log on the default syslog server if it is configured and on the stderr if it is allowed.
Sends a log line with the default loglevel for the proxy associated with the transaction.
Returns data stored in the current transaction (with the set_priv()
) function.
Stores any data in the current HAProxy transaction. This action replaces the old stored data.
Returns data stored in the variable name
.
Store variable name
in an HAProxy converting the type.
Changes the log level of the current request.
The level
must be an integer between 0 and 7.
Trait Implementations
Auto Trait Implementations
impl<'lua> !RefUnwindSafe for Txn<'lua>
impl<'lua> !UnwindSafe for Txn<'lua>
Blanket Implementations
Mutably borrows from an owned value. Read more
Performs the conversion. Read more