Device detector.
You can assign you own HttpDeviceDetector implementation.
Defaults to FastifyDeviceDetector which detects device based on User-Agent header.
Accessors
body
get body(): Body
inheritdoc
Returns Body
device
get device(): undefined | null | HttpDevice
inheritdoc
Returns undefined | null | HttpDevice
ip
get ip(): string
inheritdoc
Returns string
location
get location(): undefined | null | HTTPRequestLocation
Adapter for fastify request instance.