klyn.net.ssl.SSLSocket.send
method

    public send(value as String) as Boolean throws SSLException:

Description

Sends text to the peer.

Parameters

- value Text to send.

Returns

True when at least one byte was written. ```klyn import klyn.net.ssl socket = SSLSocket("example.com", 443) socket.send("PING") socket.close()` ``

Throws

- SSLException if the TLS socket is not connected/configured correctly or a TLS transport operation fails.