Error

data class Error(val headers: StompErrorHeaders, val body: FrameBody?) : StompFrame(source)

An ERROR frame is a server frame sent in case of error. Receiving an ERROR frame implies that the connection should be closed and no further messages can be sent or received.

Constructors

Link copied to clipboard
constructor(headers: StompErrorHeaders, body: FrameBody?)

Properties

Link copied to clipboard
open override val body: FrameBody?

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

The headers of this STOMP frame.