Bagikan melalui


UserEventRequest type

Permintaan untuk peristiwa pengguna.

type UserEventRequest =
  | { context: ConnectionContext; data: string; dataType: "text" }
  | { context: ConnectionContext; data: unknown; dataType: "json" }
  | { context: ConnectionContext; data: ArrayBuffer; dataType: "binary" }