serialize

open override fun serialize(data: HandshakeMessage.ClientInit): Map<String, QVariant<out Any?>>

Serialize a handshake message into a QVariantMap (for further serialization)