Session.sendAndSplice
ptrdiff_t sendAndSplice(soup.message.Message msg, gio.output_stream.OutputStream outStream, gio.types.OutputStreamSpliceFlags flags, gio.cancellable.Cancellable cancellable = null)Synchronously sends msg and splices the response body stream into out_stream.
See [soup.session.Session.send] for more details on the general semantics.
Parameters
msg | a #SoupMessage |
outStream | a #GOutputStream |
flags | a set of #GOutputStreamSpliceFlags |
cancellable | a #GCancellable |
Returns
a #gssize containing the size of the data spliced, or -1 if an error occurred.
Throws
[ErrorWrap]