consolidated/stompjs/src/i-frame.ts
It represents a STOMP frame. Many of the callbacks pass an IFrame received from the STOMP broker. For advanced usage you might need to access headers.
Part of @stomp/stompjs
.
IMessage is an extended IFrame.
Properties |
binaryBody |
binaryBody:
|
Type : Uint8Array
|
body as Uint8Array |
body |
body:
|
Type : string
|
body of the frame as string |
command |
command:
|
Type : string
|
STOMP Command |
headers |
headers:
|
Type : StompHeaders
|
Headers, key value pairs. |
isBinaryBody |
isBinaryBody:
|
Type : boolean
|
Is this frame binary (based on whether body/binaryBody was passed when creating this frame). |