Subscribe

data class Subscribe(val headers: StompSubscribeHeaders) : StompFrame(source)

A SUBSCRIBE frame is a client frame used to register to listen to a given destination.

Any messages received on the subscribed destination will henceforth be delivered as MESSAGE frames from the server to the client. The ack header controls the message acknowledgment mode.

Constructors

Link copied to clipboard
constructor(headers: StompSubscribeHeaders)

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

The headers of this STOMP frame.