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.
this |
an SoupSession |
message |
a Message to send |
cancellable |
optional Cancellable object, or |
A newly allocated ByteArray, which contains whole content from the URI pointed to by |