commit
This commit is contained in:
parent
f21b3ea172
commit
5edffaaa4c
@ -24,8 +24,7 @@ async fn main() -> Result<()> {
|
||||
let member_name = member.as_str();
|
||||
match member_name {
|
||||
"GetServerInformation" => {
|
||||
// Respond with server information
|
||||
// (name, vendor, version, dbus_spec_version)
|
||||
// Respond with server information: (name, vendor, version, dbus_spec_version)
|
||||
let response = (SERVER_NAME, VENDOR, VERSION, SPEC_VERSION);
|
||||
connection.reply(&msg, &response).await?;
|
||||
println!("Request received: {member}\n\tName: {SERVER_NAME}, Vendor: {VENDOR}, Version: {VERSION}, DBus spec version: {SPEC_VERSION}");
|
||||
|
Loading…
Reference in New Issue
Block a user