NativeTlsContext.clientStream
TlsStream clientStream(TlsTransport transport, string serverName = null)Creates a client-side TLS stream.
Parameters
transport | The underlying transport to wrap. |
serverName | The server hostname (for SNI and verification). |
Returns
A new TLS stream configured as a client.