StompSessionWithKxSerialization
A StompSession with additional methods to serialize/deserialize message bodies using Kotlinx Serialization.
Properties
The Kotlinx Serialization's SerializersModule used to provide serializers at runtime.
Functions
Sends a SEND frame to the server with the given headers and the given body, converted appropriately using the provided serializer.
Sends a SEND frame to the given destination with the given body, converted appropriately.
Sends a SEND frame to the server with the given headers and the given body, converted appropriately.
Sends a SEND frame to the given destination with the given body, converted appropriately using the provided serializer.
Subscribes and returns a Flow of messages of type T that unsubscribes automatically when the collector is done or cancelled. The returned flow can be collected only once.
Subscribes and returns a Flow of messages of type T that unsubscribes automatically when the collector is done or cancelled. The returned flow can be collected only once.
Subscribes and returns a Flow of messages of type T that unsubscribes automatically when the collector is done or cancelled. The returned flow can be collected only once.
Subscribes and returns a Flow of messages of type T that unsubscribes automatically when the collector is done or cancelled. The returned flow can be collected only once.
Wraps this StompSession to add methods that can convert message bodies using the provided Kotlinx Serialization's BinaryFormat.
Wraps this StompSession to add methods that can convert message bodies using the provided Kotlinx Serialization's StringFormat.