NativeTlsSession.serialize

ubyte[] serialize() const

Serializes the session for external storage.

Format: 4 bytes sessionId length4 bytes ticket length[8 bytes expiration] This format is specific to the native backend and NOT portable.

Returns

Serialized session data.