2021-11-22 11:28:30 -05:00
|
|
|
@0xd29582d26b2fb073;
|
|
|
|
|
2022-11-12 22:20:31 -05:00
|
|
|
struct ApiResult @0x8111724bdb812929 {
|
2022-07-01 12:13:52 -04:00
|
|
|
union {
|
|
|
|
ok @0 :Text;
|
|
|
|
err @1 :Text;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-11-12 22:20:31 -05:00
|
|
|
interface Registration @0xdd45f30a7c22e391 {}
|
2021-11-22 11:28:30 -05:00
|
|
|
|
2022-11-12 22:20:31 -05:00
|
|
|
interface VeilidServer @0xcb2c699f14537f94 {
|
2022-11-16 12:49:53 -05:00
|
|
|
register @0 (veilidClient :VeilidClient) -> (registration :Registration, state :Text, settings :Text);
|
2022-09-30 22:37:55 -04:00
|
|
|
debug @1 (command :Text) -> (result :ApiResult);
|
2022-07-01 12:13:52 -04:00
|
|
|
attach @2 () -> (result :ApiResult);
|
|
|
|
detach @3 () -> (result :ApiResult);
|
2022-01-18 12:33:14 -05:00
|
|
|
shutdown @4 ();
|
2022-07-01 12:13:52 -04:00
|
|
|
getState @5 () -> (result :ApiResult);
|
2022-09-30 22:37:55 -04:00
|
|
|
changeLogLevel @6 (layer :Text, logLevel :Text) -> (result :ApiResult);
|
|
|
|
appCallReply @7 (id :UInt64, message :Data) -> (result :ApiResult);
|
2021-11-22 11:28:30 -05:00
|
|
|
}
|
|
|
|
|
2022-11-12 22:20:31 -05:00
|
|
|
interface VeilidClient @0xbfcea60fb2ba4736 {
|
2022-09-30 22:37:55 -04:00
|
|
|
update @0 (veilidUpdate :Text);
|
2021-11-22 11:28:30 -05:00
|
|
|
}
|