Method
EDataServerSoupSessionsend_message
since: 3.46
Declaration [src]
void
e_soup_session_send_message (
ESoupSession* session,
SoupMessage* message,
gint io_priority,
gpointer prepare_data,
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer user_data
)
Description [src]
Asynchronously sends the message. Finish the call with e_soup_session_send_message_finish().
The prepare_data is a result of the e_soup_session_prepare_message_send_sync()
and this function assumes ownership of it. The prepare_data cannot be used
again after this call.
Available since: 3.46
This method completes asynchronously. Use e_soup_session_send_message_finish() inside the GAsyncReadyCallback to obtain the result of the operation.
Parameters
message-
Type:
SoupMessageA
SoupMessageto send.The data is owned by the caller of the method. io_priority-
Type:
gintThe I/O priority of the request, like
G_PRIORITY_DEFAULT. prepare_data-
Type:
gpointerData returned from e_soup_session_prepare_message_send_sync().
The argument can be NULL.The instance takes ownership of the data, and is responsible for freeing it. cancellable-
Type:
GCancellableOptional
GCancellableobject, orNULL.The argument can be NULL.The data is owned by the caller of the method. callback-
Type:
GAsyncReadyCallbackThe callback to invoke once the request is finished.
The argument can be NULL. user_data-
Type:
gpointerUser data for
callback.The argument can be NULL.The data is owned by the caller of the method.