Package-level declarations

Functions

Link copied to clipboard
fun StompSession.withJsonConversions(json: Json = Json, mediaType: String = "application/json;charset=utf-8", configure: JsonBuilder.() -> Unit = {}): StompSessionWithKxSerialization

Wraps this StompSession to add methods that can convert message bodies using the configuration from the provided Kotlinx Serialization's json, optionally adjusted with configure.