sec_protocol_metadata_get_server_name(_:)
Declaration
func sec_protocol_metadata_get_server_name(_ metadata: sec_protocol_metadata_t) -> UnsafePointer<CChar>?Parameters
- metadata:
A
sec_protocol_metadata_tinstance.
Return Value
Returns A NULL-terminated string carrying the server name, or NULL if none was provided.
Discussion
Obtain the server name offered by a client or server during connection establishmet. This is the value commonly carried in the TLS SNI extesion.