Skip to content

mitm-core / ProxyOptions

Type Alias: ProxyOptions ​

ProxyOptions = ProxyConfig & object

Defined in: src/config.registry.ts:81

Configuration options for creating a Proxy instance.

Extends the proxy configuration with an optional existing HTTP server to which the proxy can attach.

Type Declaration ​

server? ​

optional server?: http.Server

An existing HTTP server to attach the proxy to.

If omitted, the proxy creates a new HTTP server.