Contents

SSLCopyRequestedPeerNameLength(_:_:)

Obtains the hostname specified by the client in the ServerName extension (SNI). Server only.

Declaration

func SSLCopyRequestedPeerNameLength(_ ctx: SSLContext, _ peerNameLen: UnsafeMutablePointer<Int>) -> OSStatus

Parameters

Return Value

A result code. See Secure Transport Result Codes.