Type Alias: NodeHTTPCreateContextFnOptions<TRequest, TResponse>
On this page
NodeHTTPCreateContextFnOptions<
TRequest,TResponse>:object
Defined in: packages/server/src/adapters/node-http/types.ts:128
What createContext gets in the Node.js adapters: req, res and the
request's info.
Type Parameters
| Type Parameter |
|---|
TRequest |
TResponse |
Type declaration
info
info:
TRPCRequestInfo
req
req:
TRequest
res
res:
TResponse