Re: streamed HTTP POSTs problem
Re: streamed HTTP POSTs problem
- Subject: Re: streamed HTTP POSTs problem
- From: Jens Alfke <email@hidden>
- Date: Thu, 7 May 2009 22:29:26 -0700
On May 7, 2009, at 9:20 PM, Gary Fielke wrote: I understand using CF is the only way to get upload progress - CFReadStreamCopyProperty(httpReqStream, kCFStreamPropertyHTTPRequestBytesWrittenCount);
You can set the HTTPBodyStream property of an NSMutableURLRequest — attach it to your own NSInputStream subclass that wraps an existing stream (on a file or an NSData or whatever) while keeping track of the number of bytes that have been read.
—Jens |
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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