Re: accessing the CFSteam that NSURLConnection is using?
Re: accessing the CFSteam that NSURLConnection is using?
- Subject: Re: accessing the CFSteam that NSURLConnection is using?
- From: sean <email@hidden>
- Date: Wed, 12 Oct 2005 21:27:09 -0700
Great! This looks like exactly what I need.
Is there a swoopty way of forward all of the messages that
PostingStream receives to the initializing NSInputStream? Or should I
override all of NSStream's methods to do this?
> - create an NSInputStream subclass (let's call it PostingStream) that
> initializes from another NSInputStream and passes all messages from
> itself to the other stream. Override the methods read:maxLength: and
> getBuffer:length: so that they perform the read on the other stream,
> then somehow notify your code of how many bytes were read.
> - create a PostingStream from the stream for the post body
> - set the PostingStream as the HTTPBodyStream on the outgoing request
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden