[webkit-gtk] How to register another protocol handler

Flávio Ceolin flavio.ceolin at profusion.mobi
Mon Jul 26 05:27:00 PDT 2010


First of all, thank you for the reply.

On Sun, Jul 25, 2010 at 7:39 AM, Gustavo Noronha Silva <gns at gnome.org> wrote:
> Hey,
> On Fri, 2010-07-23 at 09:49 -0300, Flávio Ceolin wrote:
>> Is there a way to register a new protocol handler ??
> Not right now.
>> It is the task of ResourceHandler right? If it is, Do I have to create
>> a new class above the the ResourceHandlerSoup, just like Qt did with
>> QNetworkAccessManager ?
> In WebKitGTK+ we have WebKitNetworkRequest, but we have no way of
> supporting custom protocols built into it - some of our API users have
> built simple solutions to provide support for some protocols using the
> navigation policy signals, and then using GIO directly. Our plan is to
> use the SoupURILoader infrastructure that is being built.

I've had heard about this kind of functionalities using GIO, but I
have no clue how do it.
Where can I found an example ?

> Check these out:
>        https://bugzilla.gnome.org/show_bug.cgi?id=557777
>        https://bugs.webkit.org/show_bug.cgi?id=40222

I'll take a look

> I guess you're asking about this for building support for this into
> WebKitEFL? Just curious =).

Yep  =)


More information about the webkit-gtk mailing list