Is Connected • Rust AI Agent SDK

is_connected: Whether the client is currently connected.

is_connected

Method

</div>

This is a method of the GatewayClientProtocol class in the gateway module.

Whether the client is currently connected.

Signature

python
def is_connected(&self) -> bool

Returns

ResponseField bool

The result of the operation.