Interface: TRPCRequestInfo
Defined in: packages/server/src/unstable-core-do-not-import/http/types.ts:85
Information about the incoming request
Properties
accept
accept:
null|"application/jsonl"
Defined in: packages/server/src/unstable-core-do-not-import/http/types.ts:89
The trpc-accept header
calls
calls:
TRPCRequestInfoProcedureCall[]
Defined in: packages/server/src/unstable-core-do-not-import/http/types.ts:101
The calls being made
connectionParams
connectionParams:
null|Dict<string>
Defined in: packages/server/src/unstable-core-do-not-import/http/types.ts:105
Connection params when using httpSubscriptionLink or createWSClient
isBatchCall
isBatchCall:
boolean
Defined in: packages/server/src/unstable-core-do-not-import/http/types.ts:97
If the content type handler has detected that this is a batch call
signal
signal:
AbortSignal
Defined in: packages/server/src/unstable-core-do-not-import/http/types.ts:110
Signal when the request is aborted
Can be used to abort async operations during the request, e.g. fetch()-requests
type
type:
"query"|"mutation"|"subscription"|"unknown"
Defined in: packages/server/src/unstable-core-do-not-import/http/types.ts:93
The type of the request
url
url:
null|URL
Defined in: packages/server/src/unstable-core-do-not-import/http/types.ts:114
The URL of the request if available