Any NSURLRequest with NSInputStream samples?
Any NSURLRequest with NSInputStream samples?
- Subject: Any NSURLRequest with NSInputStream samples?
- From: Scott Andrew <email@hidden>
- Date: Tue, 17 Apr 2007 18:51:45 -0700
Does anyone, anywhere, have an example of NSURLRequest with
NSInputStream? I tried to write some code but when I invoke
NSURLRequest's setBodyStream i get a crash when it is trying to
setup the NSOutputStream internally.
I have a common library that I have written to do Async Web requests
and i was thinking if i used a wrapper around the default
NSInputStream (sub classing didn't work), it would be an easy way to
do upload progress.
I used my library over WebObjects for flexibility and being able to
message the HTML XML for XPath parsing. I have also built my own Soap
library on top of that that takes a XML tree and parses it to
Dictionaries with arrays for multiple children. Since i had the async
request class it was simple to build the soap implementation on top
of it.
Now if i can just use the NSInputStream that would be perfect for
uploading progress. Or am i just not getting the whole NSInputStream
thing?
Scott Andrew
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden