> On Feb 7, 2017, at 12:40 PM, Daryle Walker <dary...@mac.com> wrote: > > The reference docs seem to have slapped in this subclass, and the guide > doesn't mention it at all. The interaction model of the other tasks, prepping > all the configuration then fire, doesn't fit this one. Session tasks seem to > be more interactive; they can't be done-in-one.
The other tasks aren’t really that way either; they just have convenience methods that give you one-shot access. If you look at NSURLSessionTaskDelegate, there are quite a few messages that you receive, about auth challenges, headers, data, errors and completion. I haven’t tried using stream-tasks yet, though I plan to (they should be useful for implementing WebSockets.) The API looks fairly straightforward, sort of a cross between regular NSURLSession stuff and NSStream. Have you tried writing any code yet, or are you still waiting for docs? I suggest just diving in... —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