Proxy
Interface
constructor
g_
iface
name
connect_
async
connect_
finish
supports_
hostname
GJS API Reference
Gio-2.0
Gio
ProxyInterface
Class ProxyInterface
Provides an interface for handling proxy connection and payload.
record
Hierarchy
ProxyInterface
Index
Constructors
constructor
Properties
g_
iface
name
Methods
connect_
async
connect_
finish
supports_
hostname
Constructors
constructor
new
Proxy
Interface
(
)
:
ProxyInterface
Returns
ProxyInterface
Properties
g_
iface
g_
iface
:
TypeInterface
The parent interface.
field
Static
name
name
:
string
Methods
connect_
async
connect_
async
(
proxy
:
Gio
.
Proxy
, connection
:
IOStream
, proxy_address
:
ProxyAddress
, cancellable
:
Gio
.
Cancellable
, callback
:
AsyncReadyCallback
)
:
void
Parameters
proxy:
Gio
.
Proxy
connection:
IOStream
proxy_address:
ProxyAddress
cancellable:
Gio
.
Cancellable
callback:
AsyncReadyCallback
Returns
void
connect_
finish
connect_
finish
(
proxy
:
Gio
.
Proxy
, result
:
AsyncResult
)
:
IOStream
Parameters
proxy:
Gio
.
Proxy
result:
AsyncResult
Returns
IOStream
supports_
hostname
supports_
hostname
(
proxy
:
Gio
.
Proxy
)
:
boolean
Parameters
proxy:
Gio
.
Proxy
Returns
boolean
Proxy
Interface
constructor
g_
iface
name
connect_
async
connect_
finish
supports_
hostname
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJHaW9fMl8wLkdpby5Qcm94eUludGVyZmFjZS5odG1sI2NvbnN0cnVjdG9yIiwibmFtZSI6ImNvbnN0cnVjdG9yIiwiY2hpbGRyZW4iOltdLCJpc0V4dGVybiI6ZmFsc2UsImlzSW50ZXJuIjp0cnVlfSx7ImNsYXNzTmFtZXMiOiJ0c2Qta2luZC1wcm9wZXJ0eSB0c2QtcGFyZW50LWtpbmQtY2xhc3MiLCJocmVmIjoiR2lvXzJfMC5HaW8uUHJveHlJbnRlcm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