Method
SoupSessionsend_and_splice
since: 3.4
Declaration [src]
gssize
soup_session_send_and_splice (
SoupSession* session,
SoupMessage* msg,
GOutputStream* out_stream,
GOutputStreamSpliceFlags flags,
GCancellable* cancellable,
GError** error
)
Description [src]
Synchronously sends msg and splices the response body stream into out_stream.
See soup_session_send() for more details on the general semantics.
Available since: 3.4
Parameters
msg-
Type:
SoupMessageA
SoupMessage.The data is owned by the caller of the function. out_stream-
Type:
GOutputStreamA
GOutputStream.The data is owned by the caller of the function. flags-
Type:
GOutputStreamSpliceFlagsA set of
GOutputStreamSpliceFlags. cancellable-
Type:
GCancellableA
GCancellable.The argument can be NULL.The data is owned by the caller of the function. error-
Type:
GError **The return location for a recoverable error.
The argument can be NULL.If the return location is not NULL, then you must initialize it to aNULLGError*.The argument will left initialized to NULLby the method if there are no errors.In case of error, the argument will be set to a newly allocated GError; the caller will take ownership of the data, and be responsible for freeing it.