Contents

applicationProtocols

The array of application protocol options used by connections and listeners.

Declaration

var applicationProtocols: [NWProtocolOptions] { get set }

Discussion

The array of application protocols is ordered with the closest to the application first, and the closest to the transport protocol last. For example, if you want to run the WebSocket protocol over TLS, the WebSocket protocol should come first, and the TLS protocol should come second.