Fetcher
Fetcher<
T,Reserved> =TextendsEntrypointBranded?Provider<T,Reserved|"fetch"|"connect"> :unknown&object
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:1748
Type Declaration
Section titled “Type Declaration”connect()
Section titled “connect()”connect(
address,options?):Socket
Parameters
Section titled “Parameters”address
Section titled “address”string | SocketAddress
options?
Section titled “options?”Returns
Section titled “Returns”fetch()
Section titled “fetch()”fetch(
input,init?):Promise<Response>
Parameters
Section titled “Parameters”RequestInfo<unknown, CfProperties<unknown>> | URL
RequestInit<CfProperties<unknown>>
Returns
Section titled “Returns”Promise<Response>
Type Parameters
Section titled “Type Parameters”T extends EntrypointBranded | undefined = undefined
Reserved
Section titled “Reserved”Reserved extends string = never