Connect

data class Connect(val headers: StompConnectHeaders) : StompFrame

A CONNECT frame is a client frame used to start a STOMP session on a web socket connection.

Constructors

Link copied to clipboard
fun Connect(headers: StompConnectHeaders)

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

The headers of this STOMP frame.

Sources

Link copied to clipboard