SSLSocketOutputStream
class in package klyn.net.ssl

    public class SSLSocketOutputStream implements OutputStream:

SSLSocketOutputStream
All Implemented Interfaces: OutputStream

Binary output stream wrapper for `SSLSocket`.

    import klyn.net.ssl

    socket = SSLSocket("example.com", 443)
    try stream = socket.getOutputStream():
    stream.write("ping")

Methods

Modifier and Type | Member | Description
--- | --- | ---
public | close `close() as Void throws IOException:` | Performs a TLS network operation.
public | write `write(value as String) as Void throws IOException:` | Writes text to the TLS socket.
public | writeBytes `writeBytes(value as Array<Byte>) as Void throws IOException:` | Writes raw bytes to the TLS socket.

Methods inherited from OutputStream: write, writeBytes
Methods inherited from AutoClosable: close