Events emitted by SecurePair.

Variables

@:value(cast "secure")@:enum@:implinlineread onlySecure:SecurePairEvent<() ‑> Void> = "secure"

The event is emitted from the SecurePair once the pair has successfully established a secure connection.

Similarly to the checking for the server 'secureConnection' event, SecurePair.cleartext.authorized should be checked to confirm whether the certificate used properly authorized.