Skip to content

Websocket

Source code in docs_src/capo_connectparticipant/types/websocket.py
class Websocket(TypedDict, closed=True):
    url: NotRequired[
        "capo_connectparticipant.types.pre_signed_connection_url.PreSignedConnectionUrl"
    ]
    """<p>The URL of the websocket.</p>"""
    connection_expiry: NotRequired[
        "capo_connectparticipant.types.iso8601_datetime.ISO8601Datetime"
    ]
    """<p>The URL expiration timestamp in ISO date format.</p> <p>It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z.</p>"""

connection_expiry instance-attribute

connection_expiry: NotRequired[ISO8601Datetime]

The URL expiration timestamp in ISO date format.

It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z.

url instance-attribute

url: NotRequired[PreSignedConnectionUrl]

The URL of the websocket.