Skip to content

MessageHeader

Source code in docs_src/capo_sesv2/types/message_header.py
class MessageHeader(TypedDict, closed=True):
    name: "capo_sesv2.types.message_header_name.MessageHeaderName"
    """<p>The name of the message header. The message header name has to meet the following criteria:</p> <ul> <li> <p>Can contain any printable ASCII character (33 - 126) except for colon (:).</p> </li> <li> <p>Can contain no more than 126 characters.</p> </li> </ul>"""
    value: "capo_sesv2.types.message_header_value.MessageHeaderValue"
    """<p>The value of the message header. The message header value has to meet the following criteria:</p> <ul> <li> <p>Can contain any printable ASCII character.</p> </li> <li> <p>Can contain no more than 995 characters.</p> </li> <li> <p>The combined length of the header name and value must not exceed 996 characters.</p> </li> </ul>"""

name instance-attribute

The name of the message header. The message header name has to meet the following criteria:

  • Can contain any printable ASCII character (33 - 126) except for colon (:).

  • Can contain no more than 126 characters.

value instance-attribute

The value of the message header. The message header value has to meet the following criteria:

  • Can contain any printable ASCII character.

  • Can contain no more than 995 characters.

  • The combined length of the header name and value must not exceed 996 characters.