Skip to content

Documentation / @agentick/sandbox-local / ProxyServerConfig

Interface: ProxyServerConfig ​

Defined in: network/proxy.ts:20

Properties ​

maxAuditEntries? ​

optional maxAuditEntries: number

Defined in: network/proxy.ts:31

Maximum audit log entries. Default: 10000.


onBlock()? ​

optional onBlock: (req) => void

Defined in: network/proxy.ts:28

Called when a request is blocked.

Parameters ​

req ​

ProxiedRequest

Returns ​

void


onRequest()? ​

optional onRequest: (req) => void

Defined in: network/proxy.ts:25

Called for each request (before forwarding/blocking).

Parameters ​

req ​

ProxiedRequest

Returns ​

void


port? ​

optional port: number

Defined in: network/proxy.ts:22

Port to bind. 0 = auto-assign.

Released under the ISC License.