Re: Can I use NSString classes SYNCHRONOUSLY?
Re: Can I use NSString classes SYNCHRONOUSLY?
- Subject: Re: Can I use NSString classes SYNCHRONOUSLY?
- From: Dave Dribin <email@hidden>
- Date: Wed, 14 May 2008 17:21:26 -0500
On May 14, 2008, at 5:11 PM, Jens Alfke wrote:
On 14 May '08, at 10:03 AM, email@hidden wrote:
Essentially I want to mimic the Java HTTPConnect example I gave.
I also want to be able to change the request property to POST, as in
the Java equivalent:
connection.setRequestMethod(HttpConnection.POST);
If you're doing HTTP, use NSURLConnection instead of trying to re-
invent your own HTTP support on top of the basic stream classes.
It has a class method that does synchronous requests.
Agreed. You can use -[NSMutableURLRequest setHTTPMethod:] to use POST.
-Dave
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please 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