Method SSL.ClientConnection()->create()
classSSL.ClientConnection
- Method
create
SSL.ClientConnection SSL.ClientConnection(Contextctx,string(8bit)|voidserver_name,Session|voidsession,string(8bit)|voidearly_data)- Description
Initialize a new ClientConnection.
- Parameter
ctx Context to use.
- Parameter
server_name Optional host name of the server.
- Parameter
session Optional Session to resume.
- Parameter
early_data TLS 1.3 (RFC 8446 section 2.3) 0-RTT application data to send immediately, opportunistically -- see client_hello()'s own parameter doc for exactly when this is (and isn't) actually sent as 0-RTT.