On Sun 16 Mar 2014 10:18:37 Dan Winship wrote: > On 03/13/2014 12:47 PM, Barry Scott wrote: > > In my project I use my own proxy resolver with webkitgtk3 and libsoup. > > > > When I compile I am told that the SOUP_TYPE_PROXY_URI_RESOLVER is > > deprecated. > > > > What is the interface that replaces this? It is not documented as far as > > I can see. > > The online documentation doesn't include deprecated classes, but you can > read the docs out of the source files still. From soup-proxy-uri-resolver.c: > > * Deprecated: #SoupSession now has a #SoupSession:proxy-resolver > * property that takes a #GProxyResolver (which is semantically > * identical to #SoupProxyURIResolver). > > So, if you need customer proxy resolution, you can implement > GProxyResolver instead of SoupProxyURIResolver. Although there's a good > chance that GSimpleProxyResolver will do what you need, and you can just > create one of those and use that as the session's proxy-resolver.
Thanks for the information.
You are right GSimpleProxyResolver offers all the options we need.
Barry
|