Skip to main content

Module context

Module context 

Source
Expand description

Per-delivery context fields exposed to handlers.

AmqpContext carries the AMQP delivery metadata that is not part of the payload or the headers. Request it in a handler by typing the context parameter as Context<'_, AmqpContext> and read individual fields with the zero-sized keys in keys.

Modules§

keys
Zero-sized Field keys reading one AmqpContext field each.

Structs§

AmqpContext
Native AMQP delivery metadata, built once per delivery.