public class SSLSocketOutputStream implements OutputStream:
import klyn.net.ssl
socket = SSLSocket("example.com", 443)
try stream = socket.getOutputStream():
stream.write("ping")| Modifier and Type | Member | Description |
|---|---|---|
| public | closeclose() as Void throws IOException: |
No summary. |
| public | writewrite(value as String) as Void throws IOException: |
Writes text to the TLS socket. |
| public | writeByteswriteBytes(value as Array<Byte>) as Void throws IOException: |
Writes raw bytes to the TLS socket. |