Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QWebEngine page intercept network request
Forum Updated to NodeBB v4.3 + New Features

QWebEngine page intercept network request

Scheduled Pinned Locked Moved Solved General and Desktop
webkitchromium
4 Posts 2 Posters 2.7k Views 1 Watching
  • 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.
  • D Offline
    D Offline
    Dave F
    wrote on last edited by
    #1

    Hey,

    Is it possible in the new QWebEngine chromium based API to simulate what was possible in the older WebKit wrapper of using the QNetworkAccessManager to intercept http calls so no request would go out over the network?

    I would like to supply my own QNetworkReply equivalent to the QWebEnginePage, but looking at the API, I am not sure that this is possible.

    Any help would be greatly appreciated.

    Thanks,
    Dave

    p3c0P 1 Reply Last reply
    0
    • D Dave F

      Hey,

      Is it possible in the new QWebEngine chromium based API to simulate what was possible in the older WebKit wrapper of using the QNetworkAccessManager to intercept http calls so no request would go out over the network?

      I would like to supply my own QNetworkReply equivalent to the QWebEnginePage, but looking at the API, I am not sure that this is possible.

      Any help would be greatly appreciated.

      Thanks,
      Dave

      p3c0P Offline
      p3c0P Offline
      p3c0
      Moderators
      wrote on last edited by
      #2

      Hi @Dave-F
      You will have to wait for Qt 5.6. Have a look at the feature list and under Qt WebEngine heading.

      157

      1 Reply Last reply
      0
      • D Offline
        D Offline
        Dave F
        wrote on last edited by
        #3

        Thanks a ton for the info. I looked around and found another page with a smaller list of features. Very glad to hear this.

        Thanks again!

        p3c0P 1 Reply Last reply
        0
        • D Dave F

          Thanks a ton for the info. I looked around and found another page with a smaller list of features. Very glad to hear this.

          Thanks again!

          p3c0P Offline
          p3c0P Offline
          p3c0
          Moderators
          wrote on last edited by
          #4

          @Dave-F You're Welcome :) Then you can use QWebEngineUrlRequestInterceptor I guess.

          157

          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