DBusConnection.sendMessageWithReplyFinish
gio.dbus_message.DBusMessage sendMessageWithReplyFinish(gio.async_result.AsyncResult res)Finishes an operation started with [gio.dbus_connection.DBusConnection.sendMessageWithReply].
Note that error is only set if a local in-process error occurred. That is to say that the returned #GDBusMessage object may be of type [gio.types.DBusMessageType.Error]. Use [gio.dbus_message.DBusMessage.toGerror] to transcode this to a #GError.
See this [server][gdbus-server] and [client][gdbus-unix-fd-client] for an example of how to use this low-level API to send and receive UNIX file descriptors.
Parameters
res | a #GAsyncResult obtained from the #GAsyncReadyCallback passed to [gio.dbus_connection.DBusConnection.sendMessageWithReply] |
Returns
a locked #GDBusMessage or null if error is set
Throws
[ErrorWrap]