KotlinxWebsocketSerializationConverter

Creates a converter for WebSocket serializing with the specified string format and defaultCharset (optional, usually it is UTF-8).

Constructors

Link copied to clipboard
constructor(format: SerialFormat)

Functions

Link copied to clipboard
open suspend override fun deserialize(charset: Charset, typeInfo: TypeInfo, content: Frame): Any?
Link copied to clipboard
open override fun isApplicable(frame: Frame): Boolean
Link copied to clipboard
open suspend override fun serialize(charset: Charset, typeInfo: TypeInfo, value: Any?): Frame