Subscribe Client • AI Agent SDK

subscribe_client: Subscribe a client to a channel.

subscribe_client

Method

</div>

This is a method of the PushChannelProtocol class in the protocols module.

Subscribe a client to a channel.

Signature

python
def subscribe_client(client_id: str, channel_name: str) -> bool

Parameters

ParamField str

No description available.

ParamField str

No description available.

Returns

ResponseField bool

True if subscribed, False if already subscribed or channel missing

Source

View on GitHub

praisonaiagents/gateway/protocols.py at line 1872