klyn.net.ssl.SSLSocket.readAllText
method
public readAllText() as String throws SSLException:
Description
Reads until the peer closes the TLS stream.
import klyn.net.ssl

socket = SSLSocket("example.com", 443)
print(socket.readAllText())
socket.close()