Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TestProxy

Hierarchy

Index

Constructors

constructor

Properties

Optional entryUrl

entryUrl: string

inventoryRepository

inventoryRepository: InventoryRepository

proxy

proxy: HttpMitmProxy.IProxy

proxyOptions

proxyOptions: IProxyOptions

shutdownFlag

shutdownFlag: boolean = false

Optional throttle

throttle: Throttle

throttlingRetryIntervalMs

throttlingRetryIntervalMs: number

Accessors

inventoryDirPath

  • get inventoryDirPath(): string

port

  • get port(): number

Methods

createThrottlingTransform

setup

  • setup(): Promise<void>

shutdown

  • shutdown(): Promise<void>

start

  • start(): Promise<void>

stop

  • stop(): Promise<void>

Static contextRequest

  • contextRequest(ctx: HttpMitmProxy.IContext): { method: string; url: string }
  • Parameters

    • ctx: HttpMitmProxy.IContext

    Returns { method: string; url: string }

    • method: string
    • url: string

Generated using TypeDoc