maweki / twitchlive-extension

TwitchLive-Panel Gnome Shell Extension displaying your favorite streamers
GNU General Public License v3.0
38 stars 8 forks source link

fixed Soup.SessionAsync is not a constructor #85

Closed developomp closed 2 years ago

developomp commented 2 years ago

Referred doc:

maweki commented 2 years ago

I just noticed this PR. Thank you. Maybe we can still get the proxy-stuff to work. :)

maweki commented 2 years ago

Does something like

this._httpSession.add_feature(new Soup.ProxyURIResolver());

work?

developomp commented 2 years ago

That gives me this error:

Object is of type .GProxyResolverGnome - cannot convert to SoupSessionFeature

According to this documentation, Soup.ProxyURIResolver is deprecated in favor of Gio.ProxyResolver.

Replacing new Soup.ProxyURIResolver() with Gio.ProxyResolver.get_default() does not work either.

maweki commented 2 years ago

Ok, I'll merge and release this now. Maybe someone with proxy issues can fix this.