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 20 Nov 2015, 16:00 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

    P 1 Reply Last reply 21 Nov 2015, 05:59
    0
    • D Dave F
      20 Nov 2015, 16:00

      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

      P Offline
      P Offline
      p3c0
      Moderators
      wrote on 21 Nov 2015, 05:59 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 23 Nov 2015, 19:25 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!

        P 1 Reply Last reply 24 Nov 2015, 10:31
        0
        • D Dave F
          23 Nov 2015, 19:25

          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!

          P Offline
          P Offline
          p3c0
          Moderators
          wrote on 24 Nov 2015, 10:31 last edited by
          #4

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

          157

          1 Reply Last reply
          0

          3/4

          23 Nov 2015, 19:25

          • Login

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