Contents

SSLSetALPNProtocols(_:_:)

Sets the list of supported applicaiton layer protocols.

Declaration

func SSLSetALPNProtocols(_ context: SSLContext, _ protocols: CFArray) -> OSStatus

Parameters

  • context:

    The session context.

  • protocols:

    An array of ASCII-encoded strings representing the supported protocols, such as http/1.1. See Rfc7301 for more details.

Return Value

A result code. See Secure Transport Result Codes.