Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ProxyOptions

Hierarchy

  • ProxyOptions

Index

Properties

Optional dangerouslyIgnoreUnauthorized

dangerouslyIgnoreUnauthorized: boolean

If ignore certificate error in request, default to false

Optional forceProxyHttps

forceProxyHttps: boolean

Force intercept all https request, default to false

Optional hostname

hostname: string

Host name of the proxy server, required when this is an https proxy

port

port: string | number

Port number of proxy server

Optional recorder

recorder: ProxyRecorder

Recorder to use

Optional rule

rule: string | RuleModule

Your rule module

Optional silent

silent: boolean

If keep silent in console, false for default false

Optional throttle

throttle: number

Throttle in kb/s, unlimited for default

Optional type

type: "http" | "https"

Type of the proxy server, could be 'http' or 'https'.

Optional webInterface

webInterface: WebInterfaceOptions

Config for web interface

Optional wsIntercept

wsIntercept: boolean

Whether to intercept websocket, default to false

Generated using TypeDoc