• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Can I use NSString classes SYNCHRONOUSLY?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can I use NSString classes SYNCHRONOUSLY?


  • Subject: Re: Can I use NSString classes SYNCHRONOUSLY?
  • From: Jens Alfke <email@hidden>
  • Date: Wed, 14 May 2008 15:11:56 -0700


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.


—Jens

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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

  • Follow-Ups:
    • Re: Can I use NSString classes SYNCHRONOUSLY?
      • From: Dave Dribin <email@hidden>
References: 
 >Re: Can I use NSString classes SYNCHRONOUSLY? (From: email@hidden)

  • Prev by Date: Re: Conditionally modifying NIBs?
  • Next by Date: Re: Efficient XML loading [continuation of NSString from mapped NSData thread]
  • Previous by thread: Re: Can I use NSString classes SYNCHRONOUSLY?
  • Next by thread: Re: Can I use NSString classes SYNCHRONOUSLY?
  • Index(es):
    • Date
    • Thread