blob: 8c428a8658be463209fe67ab6937387cfe4fb9a7 [file] [log] [blame]
module example_9
enum EchoMe {
zero = 0;
one = 1;
}
interface Echo {
0: Echo(uint32 @uint32) -> (uint32 response);
1: Echo(uint64 @uint64) -> (uint64 response);
2: Echo(EchoMe req) -> (EchoMe response);
3: Echo(handle req) -> (handle response);
4: Echo(handle<channel> req) -> (handle<channel> response);
}
const EchoMe favorite_echo = zero