For clients, this is the name that was sent. For servers, this is the name received from the client.
TlsStream.serverName
string serverName() @property const;Returns
The server name (SNI) for this connection.
string serverName() @property const;For clients, this is the name that was sent. For servers, this is the name received from the client.