Type Alias: CreateFastifyContextOptions
On this page
CreateFastifyContextOptions:
NodeHTTPCreateContextFnOptions<FastifyRequest,FastifyReply>
Defined in: packages/server/src/adapters/fastify/fastifyTRPCPlugin.ts:51
What createContext gets in the Fastify adapter: req, res and the
request's info. With useWSS, WebSocket connections get the raw
IncomingMessage as req and the WebSocket as res instead.
See
https://trpc.io/docs/server/adapters/fastify#create-the-context