Session.sendAndSpliceAsync

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 soup.message.Message

a #SoupMessage

outStream gio.output_stream.OutputStream

a #GOutputStream

flags gio.types.OutputStreamSpliceFlags

a set of #GOutputStreamSpliceFlags

ioPriority int

the I/O priority of the request

cancellable gio.cancellable.Cancellable

a #GCancellable

callback gio.types.AsyncReadyCallback

the callback to invoke