15 lines
297 B
Plaintext
15 lines
297 B
Plaintext
define rust_crate test;
|
|
|
|
type Test {
|
|
name: string;
|
|
age: int;
|
|
}
|
|
|
|
service TestService {
|
|
@Description("asdasdasd")
|
|
GetTest(name: string, age: int): Test;
|
|
notification TestNot();
|
|
}
|
|
|
|
// { "jsonrpc": "2.0", "method": "TestService.GetTest", "params": [ "SomeName", 25 ], "id": "someid" }
|