Module stream_peer_ssl

Consts

STATUS_DISCONNECTED* = 0'i64
STATUS_CONNECTED* = 1'i64
STATUS_ERROR_NO_CERTIFICATE* = 2'i64
STATUS_ERROR_HOSTNAME_MISMATCH* = 3'i64

Procs

proc acceptStream*(self: StreamPeerSSL; stream: StreamPeer): Error {.
gcsafe, locks: 0
.}
proc connectToStream*(self: StreamPeerSSL; stream: StreamPeer;
                     validateCerts: bool = false; forHostname: string = ""): Error {.
gcsafe, locks: 0
.}
proc getStatus*(self: StreamPeerSSL): int64 {.
gcsafe, locks: 0
.}
proc disconnectFromStream*(self: StreamPeerSSL) {.
gcsafe, locks: 0
.}