decode_message
faststream.broker.parsers.decode_message #
Decodes a message.
PARAMETER | DESCRIPTION |
---|---|
message | The message to decode. TYPE: |
RETURNS | DESCRIPTION |
---|---|
DecodedMessage | The decoded message. |
RAISES | DESCRIPTION |
---|---|
JSONDecodeError | If the message body cannot be decoded as JSON. |
Note
The above docstring is autogenerated by docstring-gen library (https://docstring-gen.airt.ai)
Source code in faststream/broker/parsers.py
Last update: 2023-11-13