Type Alias: TRPCClientIncomingMessage<TResult, TError>
On this page
TRPCClientIncomingMessage<
TResult,TError>:TRPCClientIncomingRequest|TRPCResponseMessage<TResult,TError>
Defined in: packages/server/src/unstable-core-do-not-import/rpc/envelopes.ts:178
Any message a WebSocket client receives.
Type Parameters
| Type Parameter | Default type |
|---|---|
TResult | unknown |
TError extends TRPCErrorShape | TRPCErrorShape |
See
https://trpc.io/docs/server/websockets#websockets-rpc-specification