Add support for WebSockets to Foundation

Originator:davbeck
Number:rdar://42562609 Date Originated:24-Jul-2018 04:59 PM
Status:Open Resolved:
Product:iOS + SDK Product Version:iOS 12
Classification:Feature (New) Reproducible:Always
 
Summary:
WebSockets have become ubiquitous across the web in the last few years. Every major browser now supports it out of the box and more and more services are adopting it. Similar to the reasons Foundation provides a high performance, clean implementation for HTTP with URLSession, it makes sense to do the same for WebSockets.

Steps to Reproduce:
1. Have a service that uses WebSockets.
2. Be told that the web front end team finished integrating it weeks ago.

Expected Results:
An out of the box api to sit alongside, or on top of, URLSession.

Actual Results:
Currently apps that want to take advantage of WebSockets need to either use a 3rd party library or write their own implementation.

Version:
iOS 12

Notes:

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!