WebsocketContentConverter
interface WebsocketContentConverter
A custom content converter that could be used in the WebSockets plugin Could provide bi-directional conversion implementation. One of the most typical examples of the content converter is a JSON converter that provides both serialization and deserialization
Functions
Link copied to clipboard
Link copied to clipboard
inline suspend fun <T> WebsocketContentConverter.deserialize(content: Frame, charset: Charset = Charsets.UTF_8): T
Link copied to clipboard
Checks if the content converter can deserialize a frame