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()
Throws
  • SSLException if the TLS socket is not connected/configured correctly or a TLS transport operation fails.