Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt WebKit
  4. Interceptor in QT?

Interceptor in QT?

Scheduled Pinned Locked Moved Unsolved Qt WebKit
c++11resthttps
2 Posts 2 Posters 622 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
    Rizwan94
    wrote on last edited by
    #1

    Hi,
    I got to know that in java spring framework etc. We have interceptors which help process the request & response.

    In QT, do we have anything similar that can be used.
    Currently for making REST api calls in my application i am making use of QNAM.

    Thanks

    JKSHJ 1 Reply Last reply
    0
    • R Rizwan94

      Hi,
      I got to know that in java spring framework etc. We have interceptors which help process the request & response.

      In QT, do we have anything similar that can be used.
      Currently for making REST api calls in my application i am making use of QNAM.

      Thanks

      JKSHJ Offline
      JKSHJ Offline
      JKSH
      Moderators
      wrote on last edited by
      #2

      @Rizwan94 said in Interceptor in QT?:

      I got to know that in java spring framework etc. We have interceptors which help process the request & response.

      In QT, do we have anything similar that can be used.

      Qt uses signals and slots: https://doc.qt.io/qt-5/signalsandslots.html

      Currently for making REST api calls in my application i am making use of QNAM.

      When you call get() or post(), QNAM returns a QNetworkReply object. Connect the QNetworkReply::finished() signal to a slot to process the reply. Remember to delete the QNetworkReply when you have finished processing.

      Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

      1 Reply Last reply
      1

      • Login

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