Import line: | Gio = imports.gi.Gio; |
GIR File: | Gio-2.0.gir |
C documentation: | GSocketConnectable |
Interface : | SocketConnectable |
Implementations: | Gio.InetSocketAddress, Gio.NetworkAddress, Gio.NetworkService, Gio.ProxyAddress, Gio.SocketAddress, Gio.UnixSocketAddress |
None |
Method / Constructor | Defined By | |
---|---|---|
enumerate
()
:
Gio.SocketAddressEnumerator
Creates a GSocketAddressEnumerator for connectable.
Creates a GSocketAddressEnumerator for connectable.
|
Gio.SocketConnectable | |
proxy_enumerate
()
:
Gio.SocketAddressEnumerator
Creates a GSocketAddressEnumerator for connectable that will
return GProxyAddresses for addresses that you must connect to via a proxy.
Creates a GSocketAddressEnumerator for connectable that will
return GProxyAddresses for addresses that you must connect to via a proxy. If connectable does not implement g_socket_connectable_proxy_enumerate(), this will fall back to calling g_socket_connectable_enumerate().
|
Gio.SocketConnectable |
None |
Class / Namespace | Method / Signal / Properties |
---|---|
Gio.NetworkAddress
Method |
Creates a new GSocketConnectable for connecting to the given
|
Gio.NetworkAddress
Method |
Creates a new GSocketConnectable for connecting to the given
parsing host_and_port fails. |
Gio.NetworkAddress
Method |
Creates a new GSocketConnectable for connecting to the given
Using this rather than g_network_address_new() or g_network_address_parse_host() allows GSocketClient to determine when to use application-specific proxy protocols. |
Gio.NetworkService
Method |
Creates a new GNetworkService representing the given service,
GSocketConnectable interface to resolve it. |
Gio.ProxyAddressEnumerator
Property |
connectable : Gio.SocketConnectable
|
Gio.SocketClient
Method |
Tries to resolve the connectable and make a network connection to it.
|
Gio.SocketClient
Method |
connect_async
(SocketConnectable connectable, Cancellable cancellable, Function callback, void* user_data)
:
none
This is the asynchronous version of g_socket_client_connect().
|
Gio.TlsCertificate
Method |
This verifies cert and returns a set of GTlsCertificateFlags
indicating any problems found with it. |
Gio.TlsClientConnection
Property |
server_identity : Gio.SocketConnectable
A GSocketConnectable describing the identity of the server that
is expected on the other end of the connection. |
Gio.TlsClientConnection
Method |
set_server_identity
(SocketConnectable identity)
:
none
Sets conn's expected server identity, which is used both to tell
servers on virtual hosts which certificate to present, and also to let conn know what name to look for in the certificate when performing G_TLS_CERTIFICATE_BAD_IDENTITY validation, if enabled. |