Skip to content

ContentTypes

faststream.constants.ContentTypes #

Bases: str, Enum

A class to represent content types.

Note

The above docstring is autogenerated by docstring-gen library (https://docstring-gen.airt.ai)

json class-attribute instance-attribute #

json = 'application/json'

text class-attribute instance-attribute #

text = 'text/plain'

Last update: 2023-11-13