Session.sendAndSplice

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

msga #SoupMessage
outStreama #GOutputStream
flagsa set of #GOutputStreamSpliceFlags
cancellablea #GCancellable

Returns

a #gssize containing the size of the data spliced, or -1 if an error occurred.

Throws

[ErrorWrap]