Header faststream.Header # Header( real_name: str = "", *, cast: bool = True, default: Any = _empty ) -> Any Source code in faststream/utils/context/builders.py 20 21 22 23 24 25 26 27 28 29 30 31def Header( real_name: str = "", *, cast: bool = True, default: Any = _empty, ) -> Any: return Context_( real_name=real_name, cast=cast, default=default, prefix="message.headers.", ) Last update: 2023-11-13