Method

MsgServicesend_and_parse_response

Declaration [src]

JsonParser*
msg_service_send_and_parse_response (
  MsgService* self,
  SoupMessage* message,
  JsonObject** object,
  GCancellable* cancellable,
  GError** error
)

Description [src]

A combination of msg_service_send_and_read and msg_service_parse_response

Parameters

message SoupMessage
 

A SoupMessage.

 The data is owned by the caller of the function.
object JsonObject
  No description available.
 The data is owned by the caller of the function.
cancellable GCancellable
 

A GCancellable.

 The argument can be NULL.
 The data is owned by the caller of the function.
error GError **
  The return location for a GError*, or NULL.

Return value

Returns: JsonParser
 

A JsonParser or NULL on error.

 The caller of the method takes ownership of the data, and is responsible for freeing it.