Method
RestProxyCallcontinuous
Declaration [src]
gboolean
rest_proxy_call_continuous (
RestProxyCall* call,
RestProxyCallContinuousCallback callback,
GObject* weak_object,
gpointer userdata,
GError** error
)
Description [src]
Asynchronously invoke call
but expect a continuous stream of content. This
means that the body data will not be accumulated and thus you cannot use
rest_proxy_call_get_payload()
When there is data callback
will be called and when the connection is
closed or the stream ends callback
will also be called.
If weak_object
is disposed during the call then this call will be
cancelled. If the call is cancelled then the callback will be invoked with
an error state.
You may unref the call after calling this function since there is an internal reference, or you may unref in the callback.
Parameters
callback |
RestProxyCallContinuousCallback |
A |
|
weak_object |
GObject |
The |
|
The data is owned by the caller of the function. | |
userdata |
gpointer |
Data to pass to |
|
error |
GError ** |
The return location for a GError* , or NULL . |