Session.sendAndSpliceAsync

void sendAndSpliceAsync(soup.message.Message msg, gio.output_stream.OutputStream outStream, gio.types.OutputStreamSpliceFlags flags, int ioPriority, gio.cancellable.Cancellable cancellable = null, gio.types.AsyncReadyCallback callback = null)

Asynchronously sends msg and splices the response body stream into out_stream. When callback is called, then either msg has been sent and its response body spliced, or else an error has occurred.

See [soup.session.Session.send] for more details on the general semantics.

Parameters

msga #SoupMessage
outStreama #GOutputStream
flagsa set of #GOutputStreamSpliceFlags
ioPrioritythe I/O priority of the request
cancellablea #GCancellable
callbackthe callback to invoke