[webkit-gtk] How to connect SoupMessage signals from "resource-request-starting" ?
pnormand at igalia.com
Mon May 16 07:58:46 PDT 2011
Could the patch there help to do what you want?
It provides new signals, including a WebView::resource-loading-finished
The patch still needs some work though... Not yet ready to land.
On Sun, 2011-05-15 at 23:44 +0200, Emmanuel Rodriguez wrote:
> I'm trying to write a simple command line program that will list all
> resources for a given page and that will print some simple metrics
> (download time, file size, etc).
> I though that I could achieve this by connecting to the "finished"
> signal that SoupMessage exposes in order to track when the http
> request was finished but this doesn't work as the signal is never
> I have attached a sample program that shows what I'm trying to do. In
> a nutshell, I'm connecting to the SoupMessage of the WebKitWebResource
> that's passed as an argument to the signal
> "resource-request-starting". I tried connecting to various signals and
> property change notifications of the SoupMessage and my callbacks are
> never called. From what I can see the instance that's accessible from
> the signal's callback is not the one used by WebKit for doing the
> actual HTTP request.
> I'm obviously doing something wrong but I can't figure out what.
> webkit-gtk mailing list
> webkit-gtk at lists.webkit.org
More information about the webkit-gtk