FetchHandler
A minimal fetch handler shape, matching the fetch signature the hosted
runtime exposes for each request.
Methods
Section titled “Methods”fetch()
Section titled “fetch()”fetch(request: Request): Promise<Response>;Handle one HTTP request into the runtime.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
request | Request |
Returns
Section titled “Returns”Promise<Response>