Skip to main content

GatewayConfig

Defined in the gateway module.
Rust AI Agent SDK Configuration for a gateway.

Fields

Methods

new

Create a new config with defaults.

host

Set host. Parameters:

port

Set port. Parameters:

max_connections

Set max connections. Parameters:

session_timeout

Set session timeout. Parameters:

auth

Enable authentication with token. Parameters:

tls

Enable TLS. Parameters:

Source

View on GitHub

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

Rust Configuration

Rust Installation

Rust Gateway