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.