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? ​
optionalauth:AuthConfig
Defined in: gateway/src/transport.ts:68
Authentication configuration
Inherited from ​
host ​
host:
string
Defined in: gateway/src/transport.ts:82
Host to bind to
onAuthenticated()? ​
optionalonAuthenticated: (client) =>void
Defined in: gateway/src/transport.ts:71
Called after a client successfully authenticates. Gateway uses this to send ConnectedMessage.
Parameters ​
client ​
Returns ​
void
Inherited from ​
TransportConfig.onAuthenticated
port ​
port:
number
Defined in: gateway/src/transport.ts:79
Port to listen on