Skip to main content

GatewayClientProtocol

Defined in the gateway module.
Rust AI Agent SDK 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. Parameters:

receive

Receive an event from the client.

close

Close the client connection.

Source

View on GitHub

praisonai/src/gateway/mod.rs at line 0

Rust CLI

Rust Quickstart

Rust Gateway