send_and_splice_async


Description:

[ Version ( since = "3.4" ) ]
public async ssize_t send_and_splice_async (Message msg, OutputStream out_stream, OutputStreamSpliceFlags flags, int io_priority, Cancellable? cancellable) throws Error

Asynchronously sends msg and splices the response body stream into out_stream.

When callback is called, then either msg has been sent and its response body spliced, or else an error has occurred.

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

Parameters:

this

a Session

msg

a Message

out_stream

a OutputStream

flags

a set of OutputStreamSpliceFlags

io_priority

the I/O priority of the request

cancellable

a Cancellable

callback

the callback to invoke

user_data

data for callback