WebsocketEncodeMessageType
Emitted message to be encoded into an outgoing frame
Import
import { WebsocketEncodeMessageType } from "@hyper-fetch/sockets"
Source
Package
Preview
type WebsocketEncodeMessageType = {
payload: unknown;
topic: string;
}
Structure
WebsocketEncodeMessageType
| Name | Type | Description |
|---|---|---|
| payload | | |
| topic | |

