Defjs
Core

WebSocketIncomingData

Decoded type of a received WebSocket message.

@defjs/core · Type

Signature

type WebSocketIncomingData<TIncoming extends AnyStruct> =
  Infer<TIncoming>;

The type of each message yielded by session.receive: the Infer output of the endpoint's incoming struct. Aliased fields use their logical names.

Edit this page on GitHub
Released under the MIT License. · Copyright © 2026 MunMunMiao