| 1 |
<?xml version="1.0"?> |
| 2 |
<!-- |
| 3 |
Copyright (C) 2016 Red Hat, Inc. |
| 4 |
|
| 5 |
SPDX-License-Identifier: LGPL-2.1-or-later |
| 6 |
|
| 7 |
This library is free software; you can redistribute it and/or |
| 8 |
modify it under the terms of the GNU Lesser General Public |
| 9 |
License as published by the Free Software Foundation; either |
| 10 |
version 2.1 of the License, or (at your option) any later version. |
| 11 |
|
| 12 |
This library is distributed in the hope that it will be useful, |
| 13 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 15 |
Lesser General Public License for more details. |
| 16 |
|
| 17 |
You should have received a copy of the GNU Lesser General Public |
| 18 |
License along with this library. If not, see <http://www.gnu.org/licenses/>. |
| 19 |
|
| 20 |
Author: Matthias Clasen <[email protected]> |
| 21 |
--> |
| 22 |
<node name="/" xmlns:doc="http://www.freedesktop.org/dbus/1.0/doc.dtd"> |
| 23 |
<!-- |
| 24 |
org.freedesktop.portal.ProxyResolver: |
| 25 |
@short_description: Proxy information |
| 26 |
|
| 27 |
The ProxyResolver interface provides network proxy information to sandboxed |
| 28 |
applications. It is not a portal in the strict sense, since it does not involve |
| 29 |
user interaction. Applications are expected to use this interface indirectly, |
| 30 |
via a library API such as the GLib GProxyResolver interface. |
| 31 |
|
| 32 |
This documentation describes version 1 of this interface. |
| 33 |
--> |
| 34 |
<interface name="org.freedesktop.portal.ProxyResolver"> |
| 35 |
<!-- |
| 36 |
Lookup: |
| 37 |
@uri: A URI, as described in RFC 3986, of the destination to connect to |
| 38 |
@proxies: List of proxy uris |
| 39 |
|
| 40 |
Looks up which proxy to use to connect to @uri. The returned |
| 41 |
proxy uri are of the form ``protocol://[user[:password] AT host:port``. |
| 42 |
The protocol can be ``http``, ``rtsp``, ``socks`` or another proxying |
| 43 |
protocol. ``direct://`` is used when no proxy is needed. |
| 44 |
--> |
| 45 |
<method name="Lookup"> |
| 46 |
<arg type="s" name="uri" direction="in"/> |
| 47 |
<arg type="as" name="proxies" direction="out"/> |
| 48 |
</method> |
| 49 |
<property name="version" type="u" access="read"/> |
| 50 |
</interface> |
| 51 |
</node> |