GsonWebsocketContentConverter

GSON converter for the WebSockets plugin

Constructors

Link copied to clipboard
fun GsonWebsocketContentConverter(gson: Gson = Gson())

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 fun serialize(charset: Charset, typeInfo: TypeInfo, value: Any): Frame
Link copied to clipboard
open suspend override fun serializeNullable(charset: Charset, typeInfo: TypeInfo, value: Any?): Frame