Session.getAsyncResultMessage

soup.message.Message getAsyncResultMessage(gio.async_result.AsyncResult result) nothrow

Gets the soup.message.Message of the result asynchronous operation This is useful to get the soup.message.Message of an asynchronous operation started by session from its gio.types.AsyncReadyCallback.

Parameters

resultthe #GAsyncResult passed to your callback

Returns

a #SoupMessage or

null if result is not a valid session async operation result.