Method

MsgServicesend_and_read

Declaration [src]

GBytes*
msg_service_send_and_read (
  MsgService* self,
  SoupMessage* message,
  GCancellable* cancellable,
  GError** error
)

Description [src]

Adds authorizer information to message and send it.

Parameters

message SoupMessage
 

A SoupMessage.

 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: GBytes
 

A GBytes or NULL on error.

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