Function

SSLSetALPNProtocols

Sets the list of supported applicaiton layer protocols.

Declaration

OSStatus SSLSetALPNProtocols(SSLContextRef context, CFArrayRef protocols);

Parameters

context

The session context.

protocols

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

Return Value

A result code. See Secure Transport Result Codes.

See Also

Application Layer Protocols

SSLCopyALPNProtocols

Gets the list of supported application layer protocols.

Deprecated

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software