StompConnectHeaders
The headers of a StompFrame.Connect frame.
Inheritors
Properties
Link copied to clipboard
A list of versions of the protocol supported by this client. By default, Krossbow sets what it supports, but this can be made more strict if desired.
Link copied to clipboard
This header is an octet count for the length of the message body.
Link copied to clipboard
If this header is set, its value MUST be a MIME type that describes the format of the body. Otherwise, the receiver SHOULD consider the body to be a binary blob.
Functions
Link copied to clipboard
fun StompConnectHeaders.copy(transform: StompConnectHeadersBuilder.() -> Unit = {}): StompConnectHeaders
Creates a copy of these headers with the given transform applied.
Link copied to clipboard
Gets the header with the given headerName, or null if it's not present. Usually, headers should be accessed via type-safe properties, but this is useful to access custom headers.