GsonWebsocketContentConverter

class GsonWebsocketContentConverter(gson: Gson) : WebsocketContentConverter

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 override fun serialize(charset: Charset, typeInfo: TypeInfo, value: Any): Frame