> On Apr 14, 2016, at 6:40 PM, Daryle Walker <dary...@mac.com> wrote: > > I just watched most of the WWDC 2015 videos, and one of the networking ones > mentioned a “NSURLSessionStreamTask” class. There still doesn’t seem to be a > lot of docs about it. Anyone (from Apple) want to share here?…
I’m interested in this too — it looks like the way to go for implementing WebSockets (or other protocols that start out HTTP and then upgrade.) First send the GET with the request to upgrade to WebSocket protocol, then when the 10x response is received, use NSURLSessionResponseBecomeStream as the disposition to get access to the stream. TBH I probably won’t get around to this for a year or so because this API requires iOS 9 or macOS 10.11. —Jens _______________________________________________ Do not post admin requests to the list. They will be ignored. Macnetworkprog mailing list (Macnetworkprog@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/macnetworkprog/archive%40mail-archive.com This email sent to arch...@mail-archive.com