Method

RestProxyCallserialize_params

Declaration [src]

gboolean
rest_proxy_call_serialize_params (
  RestProxyCall* call,
  gchar** content_type,
  gchar** content,
  gsize* content_len,
  GError** error
)

Description [src]

Invoker for a virtual method to serialize the parameters for this RestProxyCall.

Parameters

content_type gchar**
 

Content type of the payload.

 The argument will be set by the function.
 The instance takes ownership of the data, and is responsible for freeing it.
 The value is a NUL terminated UTF-8 string.
content gchar**
 

The payload.

 The argument will be set by the function.
 The instance takes ownership of the data, and is responsible for freeing it.
 The value is a NUL terminated UTF-8 string.
content_len gsize*
 

Length of the payload data.

 The argument will be set by the function.
error GError **
  The return location for a GError*, or NULL.

Return value

Returns: gboolean
 

TRUE if the serialization was successful, FALSE otherwise.