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
msg | a #SoupMessage |
outStream | a #GOutputStream |
flags | a set of #GOutputStreamSpliceFlags |
ioPriority | the I/O priority of the request |
cancellable | a #GCancellable |
callback | the callback to invoke |