NatsPublishCommand
faststream.nats.response.NatsPublishCommand
#
NatsPublishCommand(
message,
*,
subject="",
correlation_id=None,
headers=None,
reply_to="",
stream=None,
timeout=0.5,
_publish_type,
)
Bases: PublishCommand
Source code in faststream/nats/response.py
headers_to_publish
#
Source code in faststream/nats/response.py
from_cmd
classmethod
#
Source code in faststream/nats/response.py
as_publish_command
#
Method to transform handlers' Response result to DTO for publishers.