- isOpenbool isOpen() 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- peekbool peek() 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- openvoid open() 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- closevoid close() 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- readsize_t read(ubyte[] buf) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- readAllvoid readAll(ubyte[] buf) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- readEndsize_t readEnd() 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- writevoid write(ubyte[] buf) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- writeEndsize_t writeEnd() 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- flushvoid flush() 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- borrowconst(ubyte)[] borrow(ubyte* buf, size_t len) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- consumevoid consume(size_t len) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
Provides SSL/TLS encryption for async sockets.
This implementation should be considered experimental, as it context-switches between fibers from within OpenSSL calls, and the safety of this has not yet been verified.
For obvious reasons (the SSL connection is stateful), more than one instance should never be used on a given socket at the same time.