public readLine() as String throws SSLException:
Reads one line from the TLS stream.
TLS line readers consume the line terminator. This matches common line-oriented network protocols where callers compare the payload line, not the transport delimiter.
import klyn.net.ssl
socket = SSLSocket("example.com", 443)
print(socket.readLine())
socket.close()