Skip to content

Documentation / @agentick/gateway / NetworkTransportConfig

Interface: NetworkTransportConfig

Defined in: gateway/src/transport.ts:77

Transport configuration for network-bound transports (WS, HTTP).

Extends

Extended by

Properties

auth?

optional auth: AuthConfig

Defined in: gateway/src/transport.ts:68

Authentication configuration

Inherited from

TransportConfig.auth


host

host: string

Defined in: gateway/src/transport.ts:82

Host to bind to


onAuthenticated()?

optional onAuthenticated: (client) => void

Defined in: gateway/src/transport.ts:71

Called after a client successfully authenticates. Gateway uses this to send ConnectedMessage.

Parameters

client

TransportClient

Returns

void

Inherited from

TransportConfig.onAuthenticated


port

port: number

Defined in: gateway/src/transport.ts:79

Port to listen on

Released under the ISC License.