Type Alias: FetchHandlerRequestOptions<TRouter>
On this page
FetchHandlerRequestOptions<
TRouter>:HTTPBaseHandlerOptions<TRouter,Request> &CreateContextCallback<inferRouterContext<TRouter>,FetchCreateContextFn<TRouter>> &object
Defined in: packages/server/src/adapters/fetch/types.ts:58
The options of fetchRequestHandler.
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 |