send_and_splice
Description:
[ Version ( since = "3.4" ) ]
public ssize_t send_and_splice (Message msg, OutputStream out_stream, OutputStreamSpliceFlags flags, Cancellable? cancellable = null) throws Error
public ssize_t send_and_splice (Message msg, OutputStream out_stream, OutputStreamSpliceFlags flags, Cancellable? cancellable = null) throws Error
Synchronously sends msg and splices the response body stream into out_stream.
See [method@Session.send] for more details on the general semantics.
Parameters:
| this |
a Session |
| msg |
a Message |
| out_stream | |
| flags |
a set of OutputStreamSpliceFlags |
| cancellable |
Returns:
|
a ssize_t containing the size of the data spliced, or -1 if an error occurred. |