We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a3f4759 commit 39b60a9Copy full SHA for 39b60a9
docs/low-level-interface/index.rst
@@ -49,6 +49,15 @@ Mixed use of the low and high level interfaces on the same bus connection is not
49
50
bus = await MessageBus().connect()
51
52
+ reply = await bus.call(
53
+ Message(destination='org.freedesktop.DBus',
54
+ path='/org/freedesktop/DBus',
55
+ member='AddMatch',
56
+ signature='s',
57
+ body=["member='MyMember', interface='com.test.interface'"]))
58
+
59
+ assert reply.message_type == MessageType.METHOD_RETURN
60
61
def message_handler(msg):
62
if msg.interface == 'com.test.interface' and msg.member == 'MyMember':
63
return Message.new_method_return(msg, 's', ['got it'])
0 commit comments