summaryrefslogtreecommitdiff
path: root/rest/rest-proxy.h
Commit message (Collapse)AuthorAgeFilesLines
* rest-proxy: modernized and alignedGünther Wagner2022-01-121-35/+26
|
* rest-proxy: Use G_DECLARE_DERIVABLE_TYPEDebarshi Ray2017-08-041-23/+1
| | | | | | Bump minimum GLib version to 2.44.0. https://bugzilla.gnome.org/show_bug.cgi?id=785811
* RestProxyCall: Make sure _sync reliably sets error_outTimm Bäder2016-07-191-0/+4
| | | | | | | Currently rest_proxy_call_sync (and everything else using prepare_message) might return FALSE without setting @error at all. Add two new error codes to indicate the possible problems and reliably set the error if something went wrong.
* Add rest_proxy_add_soup_feature()Christophe Fergeau2014-08-251-0/+4
| | | | | | | | | | | | | | | | | | | This function can be helpful if one wants more control over libsoup features than what librest simple API provide. For example, to get full access to libsoup cookie API (say to be able to add arbitrary cookies to the soup session), one can do: RestProxy *proxy = g_object_new(REST_TYPE_PROXY, "url-format", url, "disable-cookies", TRUE, NULL); SoupSessionFeature *cookie_jar = SOUP_SESSION_FEATURE(soup_cookie_jar_new ()); rest_proxy_add_soup_feature(proxy, cookie_jar); It's then possible to use all the soup_cookie_* methods to deal with cookies. https://bugzilla.gnome.org/show_bug.cgi?id=728340
* docs: Add missing gtk-doc annotationsEmmanuele Bassi2014-03-101-0/+39
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=712747
* Propagate RestProxyAuth object in ::authenticate signalChristophe Fergeau2012-06-281-1/+2
| | | | | | | | This will make it possible to pause/resume the current call during authentication callbacks to be able to get back to the mainloop to get authentication credentials. https://bugzilla.gnome.org/show_bug.cgi?id=658937
* Add RestProxy::authenticate signalChristophe Fergeau2012-06-281-1/+2
| | | | | | | | | | If caught by application, this signal can be used to set the credentials to use when authentication is needed. If not caught, librest behaviour will be unchanged (try to use what the username/password properties were set to first, and don't try to reuse them if this fails). https://bugzilla.gnome.org/show_bug.cgi?id=658937
* add username/password supportMarc-André Lureau2011-12-081-0/+6
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=658937
* Minor documentation fixesRoss Burton2010-08-041-1/+6
|
* Change struct definition to please GIR parser (MB#9674)Ross Burton2010-03-021-4/+7
|
* Add 8 padding pointers for future use to the core class structsRoss Burton2009-10-081-1/+6
|
* Document the RestProxy classesRoss Burton2009-05-151-0/+13
|
* Add rest_proxy_get_user_agentRoss Burton2009-02-101-0/+2
|
* Add a user-agent property and rest_proxy_set_user_agentRoss Burton2009-02-101-0/+2
|
* Add license header.Rob Bradford2009-01-151-0/+22
|
* Remove deprecated functionsRob Bradford2008-11-201-43/+0
| | | | | The functionality that these functions provided can be achieved using RestProxyCall and rest_proxy_simple_run.
* Documnt RestProxyRoss Burton2008-09-191-0/+5
|
* Add start of infrastructure for error handlingRob Bradford2008-09-161-0/+46
|
* Reformat source and header filesRob Bradford2008-09-151-40/+42
|
* Abstract the public functionality behind class vfuncsRob Bradford2008-09-111-0/+4
|
* Add a rest_proxy_simple_run_valist that does the real work.Rob Bradford2008-09-111-3/+8
|
* Add a rest_proxy_bind_valist that does the real work of bindingRob Bradford2008-09-111-1/+2
|
* Add rest_proxy_simple_runRoss Burton2008-09-051-0/+6
|
* Deprecate the oldcall methodsRoss Burton2008-09-051-0/+3
|
* Remove JSON wrappers & tests.Rob Bradford2008-09-051-31/+1
|
* Add first phase of cairoficiation of the API.Rob Bradford2008-09-041-2/+4
|
* Make rest_proxy_bind by fixing the sanity check and fixing the va_args useRoss Burton2008-09-041-1/+1
|
* Use goffset instead of gssize for payload lengthsRoss Burton2008-09-041-2/+2
|
* Add rest_proxy_bind to the rest-proxy.hRoss Burton2008-09-041-0/+2
|
* Add functions to parse data using json-glib before handing it to the userRob Bradford2008-08-201-0/+31
|
* Add a rest_proxy_run_raw () function that spins a main loop until completionRob Bradford2008-08-201-0/+12
|
* Split off the work into a separate rest_proxy_call_raw_async_valist functionRob Bradford2008-08-201-0/+10
|
* GError * should be GError **Rob Bradford2008-08-191-1/+1
|
* Initial commitRob Bradford2008-08-181-0/+60