klyn.net.ssl.SSLSocket.send
method
public send(value as String) as Boolean throws SSLException:
Description

Sends text to the peer.

Parameters
ParameterDescription
valueText to send.
Returns

True when at least one byte was written.

Throws
  • SSLException if the TLS socket is not connected/configured correctly or a TLS transport operation fails.
Example
import klyn.net.ssl

socket = SSLSocket("example.com", 443)
socket.send("PING")
socket.close()