Ktor
Toggle table of contents
3.3.x
Select version
3.4.x
3.3.x
3.2.x
3.1.x
3.0.x
2.3.x
2.2.x
2.0.x
1.6.x
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
Ktor
ktor-serialization-gson
/
io.ktor.serialization.gson
/
GsonWebsocketContentConverter
Gson
Websocket
Content
Converter
class
GsonWebsocketContentConverter
(
gson
:
Gson
=
Gson()
)
:
WebsocketContentConverter
(
source
)
GSON converter for the WebSockets plugin
Report a problem
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