View source
enum abstract SecurePairEvent<T>(Event<T>)
package js.node.tls
to Event<T>
import js.node.tls.SecurePair
Events emitted by SecurePair
.
Variables
inlineread 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.