.. _org.freedesktop.portal.ProxyResolver:

====================================
 Proxy Resolver
====================================

-----------
Description
-----------

.. _org.freedesktop.portal.ProxyResolver Description:

Proxy information

The ProxyResolver interface provides network proxy information to sandboxed
applications. It is not a portal in the strict sense, since it does not involve
user interaction. Applications are expected to use this interface indirectly,
via a library API such as the GLib GProxyResolver interface.

This documentation describes version 1 of this interface.



.. _org.freedesktop.portal.ProxyResolver Properties:

----------
Properties
----------

.. _org.freedesktop.portal.ProxyResolver:version:

org.freedesktop.portal.ProxyResolver:version
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

::

    version readable u




.. _org.freedesktop.portal.ProxyResolver Methods:

-------
Methods
-------

.. _org.freedesktop.portal.ProxyResolver.Lookup:

org.freedesktop.portal.ProxyResolver.Lookup
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

::

    Lookup (
      IN uri s,
      OUT proxies as
    )



Looks up which proxy to use to connect to ``uri``. The returned
proxy uri are of the form ``protocol://[user[:password] AT host:port``.
The protocol can be ``http``, ``rtsp``, ``socks`` or another proxying
protocol. ``direct://`` is used when no proxy is needed.



uri
  Destination to connect to

proxies
  List of proxy uris


