Re: Does CFHTTPMessageAddAuthentication support digest auth?
Re: Does CFHTTPMessageAddAuthentication support digest auth?
- Subject: Re: Does CFHTTPMessageAddAuthentication support digest auth?
- From: Jens Alfke <email@hidden>
- Date: Wed, 15 Jul 2015 10:00:20 -0700
On Jul 15, 2015, at 4:54 AM, Quinn The Eskimo! < email@hidden> wrote:
One thing to note is that the current beta OSes have NSURLSessionStreamTask, and you can convert a data task into a stream task via the NSURLSessionResponseBecomeStream (and from there capture the streams from the stream task to get an NS{Input,Output}Stream pair). I /think/ that allows you to implement WebSockets very easily, although I must admit that I haven't tested this stuff myself yet.
Oh wow, that’s really interesting! It must have been mentioned in a WWDC session I missed, or not at all. (Didn’t see it in the Foundation release notes, either.)
From the doc-comment it does sound like this gives direct access to the socket without any funny business about chunk encoding, which implies it would work for WebSockets…
I’ll have to try it out in a year or two, when I can consider abandoning iOS 8 / Yosemite support :-/
—Jens |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden