vertx / io.vertx.ext.stomp / Frames

# Frames

`interface Frames`

Utility methods to build common Frames. It defines a non-STOMP frame (`PING`) that is used for heartbeats. When such frame is written on the wire it is just the `0` byte. This class is thread-safe.

Author
Clement Escoffier

### Properties

PING | `static val PING: Frame`

### Functions

createErrorFrame | `open static fun createErrorFrame(message: String, headers: MutableMap<String, String>, body: String): Frame`
createInvalidFrameErrorFrame | `open static fun createInvalidFrameErrorFrame(exception: FrameException): Frame`
createReceiptFrame | `open static fun createReceiptFrame(receiptId: String, headers: MutableMap<String, String>): Frame`
handleReceipt | `open static fun handleReceipt(frame: Frame, connection: StompServerConnection): Unit`
ping | `open static fun ping(): Frame`