Type Alias: NodeHTTPRequestHandlerOptions<TRouter, TRequest, TResponse>
On this page
NodeHTTPRequestHandlerOptions<
TRouter,TRequest,TResponse>:NodeHTTPHandlerOptions<TRouter,TRequest,TResponse> &object
Defined in: packages/server/src/adapters/node-http/types.ts:109
The options of nodeHTTPRequestHandler.
Type declaration
path
path:
string
The procedure path to handle, such as post.all, or several joined by
commas for a batch.
req
req:
TRequest
res
res:
TResponse
Type Parameters
| Type Parameter |
|---|
TRouter extends AnyTRPCRouter |
TRequest extends NodeHTTPRequest |
TResponse extends NodeHTTPResponse |