Method

SoupSessionsend_and_splice_async

Declaration [src]

void
soup_session_send_and_splice_async (
  SoupSession* session,
  SoupMessage* msg,
  GOutputStream* out_stream,
  GOutputStreamSpliceFlags flags,
  int io_priority,
  GCancellable* cancellable,
  GAsyncReadyCallback callback,
  gpointer user_data
)

Description [src]

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 soup_session_send() for more details on the general semantics.

Available since:3.4

Parameters

msg SoupMessage
 

A SoupMessage.

 The data is owned by the caller of the function.
out_stream GOutputStream
 

A GOutputStream.

 The data is owned by the caller of the function.
flags GOutputStreamSpliceFlags
 

A set of GOutputStreamSpliceFlags.

io_priority int
 

The I/O priority of the request.

cancellable GCancellable
 

A GCancellable.

 The argument can be NULL.
 The data is owned by the caller of the function.
callback GAsyncReadyCallback
 

The callback to invoke.

 The argument can be NULL.
user_data gpointer
 

Data for callback.

 The argument can be NULL.
 The data is owned by the caller of the function.