sendAsync

open fun sendAsync(msg: Message, ioPriority: <Error class: unknown class>, cancellable: <Error class: unknown class>? = null, callback: <Error class: unknown class>?)

Asynchronously sends @msg and waits for the beginning of a response.

When @callback is called, then either @msg has been sent, and its response headers received, or else an error has occurred. Call method@Session.send_finish to get a class@Gio.InputStream for reading the response body.

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

Parameters

msg

a #SoupMessage

ioPriority

the I/O priority of the request

cancellable

a #GCancellable

callback

the callback to invoke