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

Hierarchy (view full)

Constructors

Properties

currentOptions: IMaxMindOptions
extractIp?: ((req) => undefined | IIpExtractionResult)

Type declaration

Param: req

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

Accessors

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

Methods

Generated using TypeDoc