Package-level declarations
Types
Exception thrown when something went wrong during the connection.
Exception thrown when the websocket connection + STOMP connection takes too much time.
An exception thrown when a RECEIPT frame was expected from the server, but not received in the configured time limit.
An exception thrown when expected heart beats are not received.
An exception thrown when the STOMP frames flow completed while some consumer was expecting more frames.
A STOMP 1.2 client based on web sockets. A custom web socket implementation can be passed in as a constructor parameter.
Exception thrown when the connection attempt failed at STOMP protocol level.
An exception thrown when a STOMP ERROR frame is received. It is usually thrown through subscription channels.
A STOMP receipt, as defined in the STOMP specification.
A coroutine-based STOMP session. This interface defines interactions with a STOMP server.
An exception thrown when the underlying websocket connection was closed at an inappropriate time.
Exception thrown when the connection attempt failed at web socket level.
Functions
Sends a SEND frame to the server at the given destination with the given binary body.
Sends a SEND frame to the server at the given destination without body.
Sends a SEND frame to the server at the given destination with the given textual body.
Establishes a STOMP session over an existing WebSocketConnection.
Subscribes and returns a Flow of MESSAGE frames that unsubscribes automatically when the collector is done or cancelled. The returned flow can be collected only once.
Subscribes and returns a Flow of binary message bodies that unsubscribes automatically when the collector is done or cancelled. The returned flow can be collected only once.
Subscribes and returns a Flow of text message bodies that unsubscribes automatically when the collector is done or cancelled. The returned flow can be collected only once.
Executes the given block on this StompSession, and disconnects from the session whether the block terminated normally or exceptionally.
Executes the given block as part of a transaction.