What encode_to_with_headers records: the body and headers schemas
(and their wire codecs) and the functions between them and the value.
Attributes#
| Attribute | Type | Description |
|---|---|---|
body | Top | |
headers | Top | |
body_codec | Top | |
headers_codec | Top | |
decode | Callable[[Mapping[str, Any]], object] | |
encode | Callable[[Any], Mapping[str, Any]] |
Functions#
__init__#
__init__(body, headers, body_codec, headers_codec, decode, encode) -> None| Parameter | Type | Description |
|---|---|---|
body | Top | |
headers | Top | |
body_codec | Top | |
headers_codec | Top | |
decode | Callable[[Mapping[str, Any]], object] | |
encode | Callable[[Any], Mapping[str, Any]] |