• 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: Cocoa: How do I send/receive XML within a HTTP connect?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cocoa: How do I send/receive XML within a HTTP connect?


  • Subject: Re: Cocoa: How do I send/receive XML within a HTTP connect?
  • From: Jens Alfke <email@hidden>
  • Date: Fri, 16 May 2008 11:18:06 -0700


On 16 May '08, at 10:59 AM, email@hidden wrote:

Do I use NSURLConnection to actually TRANSMIT & RECEIVE XML data to the Server like this?

      serverData = [NSURLConnection sendSynchronousRequest:theRequest
                                   returningResponse:serverResponse
                                   error:myError];

Yes, if you want to send it synchronously.

3) Then, how do I flush(), close() this connection?

You don't need to. It's all done for you.

—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: Cocoa: How do I send/receive XML within a HTTP connect?
      • From: email@hidden
References: 
 >Cocoa: How do I send/receive XML within a HTTP connect? (From: email@hidden)

  • Prev by Date: Re: Dynamic message typing problem
  • Next by Date: Re: Cocoa: How do I send/receive XML within a HTTP connect?
  • Previous by thread: Cocoa: How do I send/receive XML within a HTTP connect?
  • Next by thread: Re: Cocoa: How do I send/receive XML within a HTTP connect?
  • Index(es):
    • Date
    • Thread