Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ProxyOptions

Hierarchy

  • IProxyOptions
    • ProxyOptions

Index

Properties

Optional entryUrl

entryUrl: string

Optional forceChunkedRequest

forceChunkedRequest: boolean
  • Setting this option will remove the content-length from the proxy to server request, forcing chunked encoding

Optional forceSNI

forceSNI: boolean
  • force use of SNI by the client. Allow node-http-mitm-proxy to handle all HTTPS requests with a single internal server.

Optional host

host: string

host - The hostname or local address to listen on.

Optional httpAgent

httpAgent: Agent
  • The http.Agent to use when making http requests. Useful for chaining proxys. (default: internal Agent)

Optional httpsAgent

httpsAgent: Agent
  • The https.Agent to use when making https requests. Useful for chaining proxys. (default: internal Agent)

Optional httpsPort

httpsPort: number
  • The port or named socket for https server to listen on. (forceSNI must be enabled)

Optional inventoryRepository

inventoryRepository: InventoryRepository

Optional keepAlive

keepAlive: boolean
  • enable HTTP persistent connection

Optional port

port: number

port - The port or named socket to listen on (default: 8080).

Optional sslCaDir

sslCaDir: string
  • Path to the certificates cache directory (default: process.cwd() + '/.http-mitm-proxy')

Optional throttle

throttle: Throttle

Optional throttlingRetryIntervalMs

throttlingRetryIntervalMs: number

Optional timeout

timeout: number
  • The number of milliseconds of inactivity before a socket is presumed to have timed out. Defaults to no timeout.

Generated using TypeDoc