Interface: TRPCConnectionParamsMessage
On this page
Defined in: packages/server/src/unstable-core-do-not-import/rpc/envelopes.ts:187
The connection params a WebSocket client sends as its first message.
See
https://trpc.io/docs/server/websockets#connection-params
Extends
BaseRequest<"connectionParams">
Properties
data
data:
null|Dict<string>
Defined in: packages/server/src/unstable-core-do-not-import/rpc/envelopes.ts:188
id?
optionalid:RequestId
Defined in: packages/server/src/unstable-core-do-not-import/rpc/envelopes.ts:29
Inherited from
jsonrpc?
optionaljsonrpc:"2.0"
Defined in: packages/server/src/unstable-core-do-not-import/rpc/envelopes.ts:30
Inherited from
method
method:
"connectionParams"
Defined in: packages/server/src/unstable-core-do-not-import/rpc/envelopes.ts:36