vertx / io.vertx.kotlin.ext.stomp / Frame

Frame

fun Frame(body: Buffer? = null, command: Command? = null, destination: String? = null, headers: Map<String, String>? = null, id: String? = null, transaction: String? = null): Frame

A function providing a DSL for building io.vertx.ext.stomp.Frame objects.

Represents a STOMP frame. STOMP frames are structured as follows. It starts by a command, followed by a set of headers. Then the frame may have a body and is finished by a 0 byte. This class represents this structure and provide access to the different parts.

Parameters

body - Sets the body of the frame.

command - Sets the frame command.

destination -

headers - Sets the headers of the frames.

id -

transaction -