Home > @uniformdev/context-edge-vercel > EdgeMiddlewareHandlerParams

EdgeMiddlewareHandlerParams interface

Parameters for the edge middleware handler.

Signature:

Properties

Property

Modifiers

Type

Description

context

Context

The Uniform Context instance.

missingQuirkValue?

string

(Optional) Value to use when a quirk is not available. Defaults to 'unknown'.

origin

URL

The origin URL to fetch from.

quirks?

CloudflareGeoValue[]

(Optional) Quirks to extract from geolocation. Defaults to ['country', 'city', 'region'].

request

EdgeMiddlewareRequest

The incoming request object.