Skip to main content

GatewayClientProtocol

Defined in the protocols module.
AI Agent Protocol for gateway client connections. Clients are external connections (WebSocket, HTTP, etc.) that communicate with agents through the gateway.

Methods

client_id()

Unique client identifier.

is_connected()

Whether the client is currently connected.

connected_at()

Connection timestamp.

send()

Send an event to the client.

receive()

Receive an event from the client.

close()

Close the client connection.

Source

View on GitHub

praisonaiagents/gateway/protocols.py at line 220

Gateway Feature