GObject.Object
 Gio.SocketAddress
Gio.SocketAddress
 Gio.InetSocketAddress
Gio.InetSocketAddress
 Gio.ProxyAddress
                Gio.ProxyAddress
		   
| Import line: | Gio = imports.gi.Gio; | 
| GIR File: | Gio-2.0.gir | 
| C documentation: | GProxyAddress | 
| Class : | ProxyAddress | 
| Implements: | Gio.SocketConnectable | 
| Extends: | Gio.InetSocketAddress | 
| Properties | Defined By | |
|---|---|---|
| 
				address : Gio.InetAddress 
                   
                     
			 | Gio.InetSocketAddress | |
| 
				destination_hostname : String 
                   
                     
			 | Gio.ProxyAddress | |
| 
				destination_port : guint32 
                   
                     
			 | Gio.ProxyAddress | |
| 
				family : Gio.SocketFamily 
                 read only  
                     
			 | Gio.SocketAddress | |
| 
				parent_instance : Gio.InetSocketAddress 
                 read only  
                     
			 | Gio.ProxyAddress | |
| 
				password : String 
                   
                     
			 | Gio.ProxyAddress | |
| 
				port : guint32 
                   
                     
			 | Gio.InetSocketAddress | |
| 
				priv : Gio.ProxyAddressPrivate 
                 read only  
                     
			 | Gio.ProxyAddress | |
| 
				protocol : String 
                   
                     
			 | Gio.ProxyAddress | |
| 
				username : String 
                   
                     
			 | Gio.ProxyAddress | |
| Method / Constructor | Defined By | |
|---|---|---|
| 
			new  Gio.ProxyAddress
				
				 (Object properties) 
			
				
			
		 Create a new Gio.ProxyAddress 
			
			
			
				Create a new Gio.ProxyAddress
			
			
				 
 | ||
| 
			new  Gio.ProxyAddress.c_new
				
				 (InetAddress inetaddr, guint16 port, String protocol, String dest_hostname, guint16 dest_port, String username, String password) 
			
				
					 : 
					Gio.SocketAddress
					
				
			
		 Create a new Gio.ProxyAddress 
			
			
			
				Create a new Gio.ProxyAddress
			
			
				 
 
 | ||
| 
			enumerate
				
				 () 
			
				
					 : 
					Gio.SocketAddressEnumerator
					
				
			
		 Creates a GSocketAddressEnumerator for connectable. 
			
				Creates a GSocketAddressEnumerator for connectable.
		    
				
			
			
			
			
			
			 
			
			
				 
 | Gio.SocketConnectable | |
| 
			get_address
				
				 () 
			
				
					 : 
					Gio.InetAddress
					
				
			
		 Gets address's GInetAddress. 
			
				Gets address's GInetAddress. g_object_ref()'d if it will be stored 
 | Gio.InetSocketAddress | |
| 
			get_destination_hostname
				
				 () 
			
				
					 : 
					String
					
				
			
		 Gets proxy's destination hostname. 
			
				Gets proxy's destination hostname.
		    
				
			
			
			
			
			
			 
			
			
				 
 | Gio.ProxyAddress | |
| 
			get_destination_port
				
				 () 
			
				
					 : 
					guint16
					
				
			
		 Gets proxy's destination port. 
			
				Gets proxy's destination port.
		    
				
			
			
			
			
			
			 
			
			
				 
 | Gio.ProxyAddress | |
| 
			get_family
				
				 () 
			
				
					 : 
					Gio.SocketFamily
					
				
			
		 Gets the socket family type of address. 
			
				Gets the socket family type of address.
		    
				
			
			
			
			
			
			 
			
			
				 
 | Gio.SocketAddress | |
| 
			get_native_size
				
				 () 
			
				
					 : 
					gint32
					
				
			
		 Gets the size of address's native  
			
				Gets the size of address's native  You can use this to allocate memory to pass to g_socket_address_to_native(). 
 | Gio.SocketAddress | |
| 
			get_password
				
				 () 
			
				
					 : 
					String
					
				
			
		 Gets proxy's password. 
			
				Gets proxy's password.
		    
				
			
			
			
			
			
			 
			
			
				 
 | Gio.ProxyAddress | |
| 
			get_port
				
				 () 
			
				
					 : 
					guint16
					
				
			
		 Gets address's port. 
			
				Gets address's port.
		    
				
			
			
			
			
			
			 
			
			
				 
 | Gio.InetSocketAddress | |
| 
			get_protocol
				
				 () 
			
				
					 : 
					String
					
				
			
		 Gets proxy's protocol. 
			
				Gets proxy's protocol.
		    
				
			
			
			
			
			
			 
			
			
				 
 | Gio.ProxyAddress | |
| 
			get_username
				
				 () 
			
				
					 : 
					String
					
				
			
		 Gets proxy's username. 
			
				Gets proxy's username.
		    
				
			
			
			
			
			
			 
			
			
				 
 | Gio.ProxyAddress | |
| 
			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 | |
| Converts a GSocketAddress to a native  sockaddr connect() or bind(). 
			
				Converts a GSocketAddress to a native  sockaddr connect() or bind(). If not enough space is availible, a G_IO_ERROR_NO_SPACE error is returned. If the address type is not known on the system then a G_IO_ERROR_NOT_SUPPORTED error is returned. 
 
 | Gio.SocketAddress | |
| None | 
| Class / Namespace | Method / Signal / Properties | 
|---|---|
| Gio.Proxy Method | Given connection to communicate with a proxy (eg, a GSocketConnection that is connected to the proxy server), this does the necessary handshake to connect to proxy_address, and if required, wraps the GIOStream to handle proxy payload. | 
| Gio.Proxy Method | 
			connect_async
				
				 (IOStream connection, ProxyAddress proxy_address, Cancellable cancellable, Function callback, void* user_data) 
			
				
					 : 
					none
					
				
			
		 Asynchronous version of g_proxy_connect(). |