| Top |  |  |  |  | 
| LmProxy * | lm_proxy_new () | 
| LmProxy * | lm_proxy_new_with_server () | 
| LmProxyType | lm_proxy_get_type () | 
| void | lm_proxy_set_type () | 
| const gchar * | lm_proxy_get_server () | 
| void | lm_proxy_set_server () | 
| guint | lm_proxy_get_port () | 
| void | lm_proxy_set_port () | 
| const gchar * | lm_proxy_get_username () | 
| void | lm_proxy_set_username () | 
| const gchar * | lm_proxy_get_password () | 
| void | lm_proxy_set_password () | 
| LmProxy * | lm_proxy_ref () | 
| void | lm_proxy_unref () | 
Use this together with an LmConnection to get the connection to use connect through a proxy. Example of how to use the LmProxy API.
| 1 2 3 4 5 6 7 8 9 | LmConnection *connection; LmProxy *proxy; connection = lm_connection_new ("myserver"); proxy = lm_proxy_new_with_server (LM_PROXY_TYPE_HTTP, "myproxyserver", 8080); lm_connection_set_proxy (connection, proxy); ... | 
LmProxy *
lm_proxy_new (LmProxyType type);
Creates a new Proxy. Used lm_connection_set_proxy to make a connection user this proxy.
LmProxy * lm_proxy_new_with_server (LmProxyType type,const gchar *server,guint port);
Creates a new Proxy. Use lm_connection_set_proxy to make a connection user this proxy.
void lm_proxy_set_type (LmProxy *proxy,LmProxyType type);
Sets the proxy type for proxy
 to type
.
const gchar *
lm_proxy_get_server (LmProxy *proxy);
Fetches the server address that proxy
 is using.
void lm_proxy_set_server (LmProxy *proxy,const gchar *server);
Sets the server address for proxy
 to server
.
guint
lm_proxy_get_port (LmProxy *proxy);
Fetches the port that proxy
 is using.
void lm_proxy_set_port (LmProxy *proxy,guint port);
Sets the server port that proxy
 will be using.
const gchar *
lm_proxy_get_username (LmProxy *proxy);
Fetches the username that proxy
 is using.
void lm_proxy_set_username (LmProxy *proxy,const gchar *username);
Sets the username for proxy
 to username
 or NULL to unset.
const gchar *
lm_proxy_get_password (LmProxy *proxy);
Fetches the password that proxy
 is using.
void lm_proxy_set_password (LmProxy *proxy,const gchar *password);
Sets the password for proxy
 to password
 or NULL to unset.