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 poll(self: StreamPeerSSL) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc acceptStream(self: StreamPeerSSL; stream: StreamPeer): Error {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc connectToStream(self: StreamPeerSSL; stream: StreamPeer;
                    validateCerts: bool = false; forHostname: string = ""): Error {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getStatus(self: StreamPeerSSL): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc disconnectFromStream(self: StreamPeerSSL) {.
gcsafe, locks: 0, raises: [], tags: []
.}