Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Make multiple asynchronous put/post/get requests using QNetworkAccessManager

Make multiple asynchronous put/post/get requests using QNetworkAccessManager

Scheduled Pinned Locked Moved Mobile and Embedded
3 Posts 2 Posters 2.9k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    raj.qtdev
    wrote on last edited by
    #1

    Hi,

    I am working on an app where in user should be able to start uploading or downloading multiple files or different types. These http requests should have no effect on UI of the app. Can somebody let me know how to do this in an optimized way? Would be better if you could name the classes as well or an example.

    Thanks

    1 Reply Last reply
    0
    • raven-worxR Offline
      raven-worxR Offline
      raven-worx
      Moderators
      wrote on last edited by
      #2

      QNetworkAccessManager is your way to go. It handles the requests asynchronously by default so there is no blocking on the GUI.
      There are several examples on the web....but the "docs of QNAM":http://qt-project.org/doc/qt-5.0/qtnetwork/qnetworkaccessmanager.html#details should be already very clear.

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      1 Reply Last reply
      0
      • R Offline
        R Offline
        raj.qtdev
        wrote on last edited by
        #3

        thanks raven.

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved