Skip to content

ContentTypes

faststream.constants.ContentTypes #

Bases: str, Enum

A class to represent content types.

text class-attribute instance-attribute #

text = 'text/plain'

json class-attribute instance-attribute #

json = 'application/json'