A Fetcher interface compatible with Cloudflare Workers service bindings and standard fetch API. Used for dependency injection to support both HTTP URLs and Worker bindings.
Performs an HTTP request
The URL or RequestInfo to fetch
Optional
Optional request initialization parameters
A Promise that resolves to the Response
A Fetcher interface compatible with Cloudflare Workers service bindings and standard fetch API. Used for dependency injection to support both HTTP URLs and Worker bindings.