diff options
Diffstat (limited to 'src/glade-http.h')
-rw-r--r-- | src/glade-http.h | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/src/glade-http.h b/src/glade-http.h index 05b450c1..f64e0166 100644 --- a/src/glade-http.h +++ b/src/glade-http.h @@ -52,15 +52,13 @@ struct _GladeHTTPClass GObjectClass parent_class; /* Signals */ - void (*request_done) (GladeHTTP *self, - gint code, - const gchar **headers, - const gchar **values, + void (*request_done) (GladeHTTP *self, + gint code, const gchar *response); - void (*status) (GladeHTTP *self, - GladeHTTPStatus status, - GError *error); + void (*status) (GladeHTTP *self, + GladeHTTPStatus status, + GError *error); }; struct _GladeHTTP @@ -79,6 +77,11 @@ GladeHTTP *glade_http_new (const gchar *host, const gchar *glade_http_get_host (GladeHTTP *http); gint glade_http_get_port (GladeHTTP *http); +gchar *glade_http_get_cookie (GladeHTTP *http, + const gchar *key); + +gchar *glade_http_get_cookies (GladeHTTP *http); + void glade_http_request_send_async (GladeHTTP *http, GCancellable *cancellable, const gchar *format, |