toggle menu
ktor
3.0.0-beta-1
3.0.0
3.0.0-rc-1
3.0.0-beta-2
3.0.0-beta-1
2.3.12
2.2.4
2.0.3
1.6.8
jvm
switch theme
search in API
ktor-serialization-gson
/
io.ktor.serialization.gson
/
GsonWebsocketContentConverter
Gson
Websocket
Content
Converter
class
GsonWebsocketContentConverter
(
gson
:
Gson
=
Gson()
)
:
WebsocketContentConverter
GSON converter for the WebSockets plugin
Members
Constructors
Gson
Websocket
Content
Converter
Link copied to clipboard
constructor
(
gson
:
Gson
=
Gson()
)
Functions
deserialize
Link copied to clipboard
open
suspend override
fun
deserialize
(
charset
:
Charset
,
typeInfo
:
TypeInfo
,
content
:
Frame
)
:
Any
?
is
Applicable
Link copied to clipboard
open
override
fun
isApplicable
(
frame
:
Frame
)
:
Boolean
serialize
Link copied to clipboard
open
suspend override
fun
serialize
(
charset
:
Charset
,
typeInfo
:
TypeInfo
,
value
:
Any
?
)
:
Frame