Skip to content

FetchHandler

A minimal fetch handler shape, matching the fetch signature the hosted runtime exposes for each request.

fetch(request: Request): Promise<Response>;

Handle one HTTP request into the runtime.

ParameterType
requestRequest

Promise<Response>