[ Version ( since = "3.4" ) ]
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.
this |
a Session |
msg |
a Message |
out_stream |
a OutputStream |
flags |
a set of OutputStreamSpliceFlags |
cancellable |
a Cancellable |
a ssize_t containing the size of the data spliced, or -1 if an error occurred. |