DBusMethodInvocation.getMessage

Gets the gio.DBusMessage for the method invocation. This is useful if you need to use low-level protocol features, such as UNIX file descriptor passing, that cannot be properly expressed in the glib.Variant API.

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.

class DBusMethodInvocation
getMessage
()

Return Value

gio.DBusMessage Do not free, it is owned by invocation.

Meta

Since

2.26