sendAndSplice

open fun sendAndSplice(msg: Message, outStream: <Error class: unknown class>, flags: <Error class: unknown class>, cancellable: <Error class: unknown class>? = null): <Error class: unknown class><Long>

Synchronously sends @msg and splices the response body stream into @out_stream.

See method@Session.send for more details on the general semantics.

Return

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

Since

3.4

Parameters

msg

a #SoupMessage

outStream

a #GOutputStream

flags

a set of #GOutputStreamSpliceFlags

cancellable

a #GCancellable