Skip to content

WebSocketDescriptor

type WebSocketDescriptor = unknown

Static shape of one WebSocket route: inbound/outbound schemas and typed upgrade inputs. All fields optional; spelled loose in route options or shared via a socketContract entry.

Learn: Contracts

Last updated: