| Import line: | Gio = imports.gi.Gio; | 
| GIR File: | Gio-2.0.gir | 
| C documentation: | GProxy | 
| Interface : | Proxy | 
| None | 
| Method / Constructor | Defined By | |
|---|---|---|
| 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. 
			
				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. be the same as connection, in which case a reference will be added. 
 
 | Gio.Proxy | |
| 
			connect_async
				
				 (IOStream connection, ProxyAddress proxy_address, Cancellable cancellable, Function callback, void* user_data) 
			
				
					 : 
					none
					
				
			
		 Asynchronous version of g_proxy_connect(). 
			
				Asynchronous version of g_proxy_connect().
		    
				
			
			
			
			
				 
 
 | Gio.Proxy | |
| 
			connect_finish
				
				 (AsyncResult result) 
			
				
					 : 
					Gio.IOStream
					
				
			
		 See g_proxy_connect(). 
			
				See g_proxy_connect().
		    
				
			
			
			
			
				 
 
 | Gio.Proxy | |
| 
			supports_hostname
				
				 () 
			
				
					 : 
					gboolean
					
				
			
		 Some proxy protocols expect to be passed a hostname, which they will resolve to an IP address themselves. 
			
				Some proxy protocols expect to be passed a hostname, which they will resolve to an IP address themselves. Others, like SOCKS4, do not allow this. This function will return FALSE if proxy is implementing such a protocol. When FALSE is returned, the caller should resolve the destination hostname first, and then pass a GProxyAddress containing the stringified IP address to g_proxy_connect() or g_proxy_connect_async(). 
 | Gio.Proxy | |
| None | 
| Class / Namespace | Method / Signal / Properties | 
|---|---|
| Gio Method | Lookup "gio-proxy" extension point for a proxy implementation that supports specified protocol. |