Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface AdaptedExpressRequest<P, ResBody, ReqBody, ReqQuery, Locals>

Express request instance managed by ExpressRequestAdapter.

Type parameters

  • P

  • ResBody

  • ReqBody

  • ReqQuery

  • Locals: Record<string, any>

Hierarchy

  • Request<P, ResBody, ReqBody, ReqQuery, Locals>
    • AdaptedExpressRequest

Properties

Optional [DEVICE_SYM]

[DEVICE_SYM]: null | DeviceDetectorResult

Property under which ExpressDeviceDetector stores detected device.
Notice that if you pass an express request object to ExpressRequestAdapter which already has this property with according device, ExpressDeviceDetector won't compute this property again.

Optional [LOCATION_SYM]

[LOCATION_SYM]: null | HTTPRequestLocation

Property under which location of the request is stored.
Important! Clients of the ExpressRequestAdapter have to set this property accordingly on express request object before passing it to adapter, as he won't compute it.