Message

data class Message(val headers: StompMessageHeaders, val body: FrameBody?) : StompFrame(source)

A MESSAGE frame is a server frame used to convey a message from a subscription to the client. A MESSAGE frame must be part of a subscription.

Constructors

Link copied to clipboard
constructor(headers: StompMessageHeaders, body: FrameBody?)

Properties

Link copied to clipboard
open override val body: FrameBody?

The body of this STOMP frame.

Link copied to clipboard

The body of this frame as text.

Link copied to clipboard

The command of this STOMP frame, which is the first word of the frame.

Link copied to clipboard
open override val headers: StompMessageHeaders

The headers of this STOMP frame.