Reference

@reckona/mreact-router/adapters/edge

3 public exports.

Function

FunctioncreateEdgeRequestHandlerfunction createEdgeRequestHandler(options: EdgeRequestHandlerOptions): EdgeRequestHandlerWraps a Web `Request` renderer with edge-runtime logging and error handling. Use this for environments that already provide standard `Request` and `Response` objects and do not need Node or Cloudflare-specific adapters.

Interface

InterfaceEdgeRequestHandlerOptionsinterface EdgeRequestHandlerOptionsConfigures edge-runtime logging, rendering, and error handling.

Type Alias

Type AliasEdgeRequestHandlertype EdgeRequestHandler = (request: Request): Response | Promise<Response>Handles one standard Web `Request` in an edge runtime.