when creating a scenario, you need to add a static scenarioName

Hierarchy (view full)

Constructors

Properties

extractIp?: ((req: IncomingMessage) => undefined | IIpExtractionResult)

allow some scenario to extract ip from the request

loaded: boolean = false
ipObjectCache: LRUCache<string, AddressObject, unknown>
scenarioName: string = 'maxmind'

Accessors

  • get ipObjectCache(): LRUCache<string, AddressObject, unknown>
  • Returns LRUCache<string, AddressObject, unknown>

Methods