Skip to content

PersistentConnectionConfig

Source code in docs_src/capo_connect/types/persistent_connection_config.py
class PersistentConnectionConfig(TypedDict, closed=True):
    channel: "capo_connect.types.channel.Channel"
    """<p>Configuration settings for persistent connection. <b>Only <code>VOICE</code> is supported for this data type.</b> </p>"""
    persistent_connection: (
        "capo_connect.types.persistent_connection.PersistentConnection"
    )
    """<p>Indicates whether persistent connection is enabled. When enabled, the agent's connection is maintained after a call ends, enabling subsequent calls to connect faster.</p>"""

channel instance-attribute

channel: Channel

Configuration settings for persistent connection. Only VOICE is supported for this data type.

persistent_connection instance-attribute

persistent_connection: PersistentConnection

Indicates whether persistent connection is enabled. When enabled, the agent's connection is maintained after a call ends, enabling subsequent calls to connect faster.