serialize

open override fun serialize(data: HandshakeMessage.SessionInit): Map<String, QVariant_>

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