How to send http request and receive response to Skydrive follow WinRT async model?


  • Hi all,

    I'm following this sample to control Skydrive operation

    In this sample, it using XMLHTTPRequest2 to send and receive with Skydrive server.
    It's async operation
    When it send request to server, it will using callback function to get receive reponse

    Now, I don't want using callback function to do this.
    I want try follow the WinRT async model "task.then([](){...});"
    But I don't know how to implement it.

    Is there any method can help to implement it?
    In the other hand. Is any similar interface in WinRT?


    Wednesday, June 6, 2012 8:51 AM


  • There was another thread discussing API's that provide HTTP support you may want to review here.

     The Live SDK support forum (Live Connect)you have any Live SDK sample or Live service specific questions.

    I suspect the Live SDK team decided to use the IXMLHTTPRequest2 API in their sample as it is an API directly accessible from C++ that provides HTTP support.


    David Lamb

    • Marked as answer by Jesse Jiang Wednesday, June 20, 2012 8:58 AM
    Thursday, June 7, 2012 3:48 PM