Results 1 to 3 of 3

Thread: Request ID of QNetworkaccessmanager get and post request

  1. #1
    Join Date
    Jan 2011
    Location
    Nagercoil,Tamilnadu,India
    Posts
    12
    Thanks
    4
    Qt products
    Qt4
    Platforms
    Windows

    Default Request ID of QNetworkaccessmanager get and post request

    Hi i want to know the request ID of each requests that are send through QNetworkaccessmanager. Please help me. Thanks in advance...
    M Dineshkumar,
    Project Trainee,
    Cape Consultancy Services
    (http://www.capeconsultancy.com)
    India.

  2. #2
    Join Date
    Jan 2006
    Location
    Napoli, Italy
    Posts
    621
    Thanks
    5
    Thanked 86 Times in 81 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Request ID of QNetworkaccessmanager get and post request

    what do you mean for request id?
    A camel can go 14 days without drink,
    I can't!!!

  3. #3
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: Request ID of QNetworkaccessmanager get and post request

    Quote Originally Posted by dineshkumar View Post
    Hi i want to know the request ID of each requests that are send through QNetworkaccessmanager. Please help me. Thanks in advance...
    The only inherent thing that resembles a "request id" is the QNetworkReply * returned by calls to QNetworkAccessManager::get() and friends.

    You could possibly pass your own "request id" as a user attribute on the QNetworkRequest and retrieve it from the QNetworkReply. See setAttribute() and QNetworkRequest::User.

Similar Threads

  1. QNetworkAccessManager get request causing QSslSocket errors
    By Runtime Technologies in forum Qt Programming
    Replies: 5
    Last Post: 29th July 2009, 22:57
  2. How do I send data with http post request?
    By Morea in forum Qt Programming
    Replies: 13
    Last Post: 21st January 2009, 22:51
  3. POST request to a web service
    By QPlace in forum Qt Programming
    Replies: 3
    Last Post: 6th November 2008, 08:05
  4. Request for comment: Post event filter
    By wysota in forum Qt Programming
    Replies: 3
    Last Post: 7th March 2008, 21:55
  5. Https POST Request
    By munna in forum Qt Programming
    Replies: 10
    Last Post: 11th November 2006, 14:24

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.