Class
RestProxy
Description [src]
class Rest.Proxy : GObject.Object {
parent_instance: GObject
}
RestProxy
has no publicly available members.
Constructors
rest_proxy_new
Create a new RestProxy
for the specified endpoint url_format
, using the
“GET” method.
rest_proxy_new_with_authentication
Create a new RestProxy
for the specified endpoint url_format
, using the
“GET” method.
Instance methods
rest_proxy_add_soup_feature
This method can be used to add specific features to the SoupSession
objects
that are used by librest for its HTTP connections. For example, if one needs
extensive control over the cookies which are used for the REST HTTP
communication, it’s possible to get full access to libsoup cookie API by using.
Available since: 0.7.92
rest_proxy_bind
rest_proxy_bind_valist
rest_proxy_get_user_agent
rest_proxy_new_call
Create a new RestProxyCall
for making a call to the web service. This call
is one-shot and should not be re-used for making multiple calls.
rest_proxy_set_user_agent
rest_proxy_simple_run
rest_proxy_simple_run_valist
Properties
Rest.Proxy:binding-required
Rest.Proxy:disable-cookies
Rest.Proxy:password
Rest.Proxy:ssl-ca-file
Rest.Proxy:ssl-strict
Rest.Proxy:url-format
Rest.Proxy:user-agent
Rest.Proxy:username
Class structure
struct RestProxyClass {
gboolean (* bind_valist) (
RestProxy* proxy,
va_list params
);
RestProxyCall* (* new_call) (
RestProxy* proxy
);
gboolean (* simple_run_valist) (
RestProxy* proxy,
gchar** payload,
goffset* len,
GError** error,
va_list params
);
gboolean (* authenticate) (
RestProxy* proxy,
RestProxyAuth* auth,
gboolean retrying
);
}
Class members
bind_valist |
|
No description available. | |
new_call |
|
No description available. | |
simple_run_valist |
|
No description available. | |
authenticate |
|
No description available. |
Virtual methods
Rest.ProxyClass.authenticate
Rest.ProxyClass.bind_valist
Rest.ProxyClass.new_call
Create a new RestProxyCall
for making a call to the web service. This call
is one-shot and should not be re-used for making multiple calls.