serverHostname

The hostname value from the Server Name Indication (SNI) extension.

SSLCallbacks.swift:286
var serverHostname: String?

This value, if available, indicates the requested server hostname by the client. In a context where a service is handling multiple hostnames (virtual hosts, for example), this value could be used to decide which SSLContext to use for the handshake.