send_message_simple_sync


Description:

public ByteArray send_message_simple_sync (Message message, Cancellable? cancellable = null) throws Error

Similar to send_message_sync, except it reads whole response content into memory and returns it as a ByteArray.

Use send_message_sync when you want to have more control on the content read.

Parameters:

this

an SoupSession

message

a Message to send

cancellable

optional Cancellable object, or null

Returns:

A newly allocated ByteArray, which contains whole content from the URI pointed to by message.