diff options
author | Marc-André Lureau <marcandre.lureau@gmail.com> | 2011-12-08 18:38:11 +0100 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@gmail.com> | 2011-12-08 18:49:27 +0100 |
commit | 649671b6eeaeb16d4e965fc1a053809503a21cc1 (patch) | |
tree | 41c229b233730aab6ee190017349f76131674020 /rest/rest-proxy.h | |
parent | 195d225ec4ad78dfee7bd78c32c97e34a1565c55 (diff) | |
download | librest-649671b6eeaeb16d4e965fc1a053809503a21cc1.tar.gz |
add username/password support
https://bugzilla.gnome.org/show_bug.cgi?id=658937
Diffstat (limited to 'rest/rest-proxy.h')
-rw-r--r-- | rest/rest-proxy.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/rest/rest-proxy.h b/rest/rest-proxy.h index ff38a14..342ce59 100644 --- a/rest/rest-proxy.h +++ b/rest/rest-proxy.h @@ -139,6 +139,12 @@ GType rest_proxy_get_type (void); RestProxy *rest_proxy_new (const gchar *url_format, gboolean binding_required); +RestProxy * +rest_proxy_new_with_authentication (const gchar *url_format, + gboolean binding_required, + const gchar *username, + const gchar *password); + gboolean rest_proxy_bind (RestProxy *proxy, ...); |