serialize
Serializes a value to a WebSocket Frame. This function could throw WebsocketConverterNotFoundException
if the value is not suitable for conversion
Return
a converted Frame value, or null if value isn't suitable for this converter
Parameters
charset
response charset
typeInfo
response body typeInfo
value
to be converted