RabbitPublishCommand
faststream.rabbit.response.RabbitPublishCommand
#
RabbitPublishCommand(
message,
*,
_publish_type,
routing_key="",
exchange=None,
mandatory=True,
immediate=False,
timeout=None,
**message_options,
)
Bases: PublishCommand
Source code in faststream/rabbit/response.py
publish_options
instance-attribute
#
from_cmd
classmethod
#
Source code in faststream/rabbit/response.py
as_publish_command
#
Method to transform handlers' Response result to DTO for publishers.