Skip to content
tRPC

Partners

Type Alias: FetchHandlerOptions<TRouter>

On this page

FetchHandlerOptions<TRouter>: FetchCreateContextOption<TRouter> & HTTPBaseHandlerOptions<TRouter, Request> & object

Defined in: packages/server/src/adapters/fetch/types.ts:46

The options of the Fetch adapter.

Type declaration

endpoint

endpoint: string

The path the router is served at, such as /trpc.

req

req: Request

Type Parameters

Type Parameter
TRouter extends AnyTRPCRouter