SSLSocketInputStream
class in package klyn.net.ssl

    public class SSLSocketInputStream implements InputStream:

SSLSocketInputStream
All Implemented Interfaces: InputStream

Binary input stream wrapper for `SSLSocket`.

    import klyn.net.ssl

    socket = SSLSocket("example.com", 443)
    try stream = socket.getInputStream():
    print(stream.readBytes(8).size)

Methods

Modifier and Type | Member | Description
--- | --- | ---
public | close `close() as Void throws IOException:` | Performs a TLS network operation.
public | read `read() as String throws IOException:` | Reads a text chunk from the TLS socket.
public | readBytes `readBytes(length as Int) as Array<Byte> throws IOException:` | Reads bytes from the TLS socket.

Inherited Methods
method Inherited Methods from InputStream: read, readBytes
method Inherited Methods from AutoClosable: close