API Reference
Platform docs
Theme

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

createUniformEdgeMiddleware() function

Creates a Uniform edge middleware for Vercel.

Signature:

Parameters

ParameterTypeDescription
optionsCreateUniformEdgeMiddlewareOptions(Optional) Optional configuration for the middleware

Returns:

({ request, origin, context, missingQuirkValue, quirks, }: EdgeMiddlewareHandlerParams) => Promise<Response>

An async handler function for processing edge requests

Join our community on Discord
Check out our public repositories on GitHub
Enjoy some video content on YouTube