Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface AdaptedFastifyRequest<RouteGeneric, RawServer, RawRequest>

Fastify request instance managed by FastifyRequestAdapter.

Type parameters

  • RouteGeneric: RouteGenericInterface

  • RawServer: RawServerBase

  • RawRequest: RawRequestDefaultExpression<RawServer>

Hierarchy

  • FastifyRequest<RouteGeneric, RawServer, RawRequest>
    • AdaptedFastifyRequest

Properties

Optional [DEVICE_SYM]

[DEVICE_SYM]: null | DeviceDetectorResult

Property under which FastifyDeviceDetector stores detected device.
Notice that if you pass a fastify request object to FastifyRequestAdapter which already has this property with according device, FastifyDeviceDetector 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 FastifyRequestAdapter have to set this property accordingly on fastify request object before passing it to adapter, as he won't compute it.