Send

data class Send(val headers: StompSendHeaders, val body: FrameBody?) : StompFrame

A SEND frame is a client frame used to send a message to a destination in the messaging system. The optional body of the SEND frame is the message to be sent.

Constructors

Link copied to clipboard
fun Send(headers: StompSendHeaders, body: FrameBody?)

Properties

Link copied to clipboard
open override val body: FrameBody?

The body of this STOMP frame.

Link copied to clipboard
val bodyAsText: String

The body of this frame as text.

Link copied to clipboard
val command: StompCommand

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

Link copied to clipboard
open override val headers: StompSendHeaders

The headers of this STOMP frame.

Sources

Link copied to clipboard