deserialize

inline suspend fun <T> WebsocketContentConverter.deserialize(content: Frame, charset: Charset = Charsets.UTF_8): T

Deserializes content to the value of type T

Return

a converted value (deserialized) or throws WebsocketConverterNotFoundException if the context's subject is not suitable for this converter