-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsl_browser_api.proto
47 lines (39 loc) · 1.23 KB
/
sl_browser_api.proto
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
syntax = "proto3";
service grpc_plugin_obj {
rpc com_grpc_js_api (grpc_js_api_Request) returns (grpc_js_api_Reply) {}
rpc com_grpc_js_executeCallback (grpc_js_api_ExecuteCallback) returns (grpc_js_api_Reply) {}
rpc com_grpc_window_toggleVisibility (grpc_window_toggleVisibility) returns (grpc_empty_Reply) {}
rpc com_grpc_run_javascriptOnBrowser (grpc_run_javascriptOnBrowser) returns (grpc_empty_Reply) {}
}
service grpc_proxy_obj {
rpc com_grpc_js_api (grpc_js_api_Request) returns (grpc_js_api_Reply) {}
rpc com_grpc_js_executeCallback (grpc_js_api_ExecuteCallback) returns (grpc_js_api_Reply) {}
rpc com_grpc_window_toggleVisibility (grpc_window_toggleVisibility) returns (grpc_empty_Reply) {}
rpc com_grpc_run_javascriptOnBrowser (grpc_run_javascriptOnBrowser) returns (grpc_empty_Reply) {}
}
// Client->
message grpc_js_api_Request {
string funcname = 1;
string params = 2;
}
// Client->
message grpc_js_api_ExecuteCallback {
int32 funcid = 1;
string jsonstr = 2;
}
// Client->
message grpc_window_toggleVisibility {
string empty = 1;
}
// Client->
message grpc_run_javascriptOnBrowser {
string str = 1;
}
// Server->
message grpc_js_api_Reply {
string empty = 1;
}
// Server->
message grpc_empty_Reply {
string empty = 1;
}