Stomp

data class Stomp(val headers: StompConnectHeaders) : StompFrame(source)

A STOMP frame is a STOMP 1.2 replacement for the CONNECT frame, used to start a STOMP session on a web socket connection.

Clients that use the STOMP frame instead of the CONNECT frame will only be able to connect to STOMP 1.2 servers (as well as some STOMP 1.1 servers) but the advantage is that a protocol sniffer/discriminator will be able to differentiate the STOMP connection from an HTTP connection.

Constructors

Link copied to clipboard
constructor(headers: StompConnectHeaders)

Properties

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

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

The headers of this STOMP frame.