Skip to content

ContentTypes

faststream.constants.ContentTypes #

Bases: str, Enum

A class to represent content types.

json class-attribute instance-attribute #

json = 'application/json'

text class-attribute instance-attribute #

text = 'text/plain'