Disconnect

data class Disconnect(val headers: StompDisconnectHeaders) : StompFrame

A DISCONNECT frame is a client frame used to gracefully disconnect from the server. Waiting for a RECEIPT on DISCONNECT ensures that all previously sent messages have been received by the server.

Constructors

Link copied to clipboard
fun Disconnect(headers: StompDisconnectHeaders)

Properties

Link copied to clipboard
open val body: FrameBody? = null

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: StompDisconnectHeaders

The headers of this STOMP frame.

Sources

Link copied to clipboard