1
0
mirror of https://git.tuxpa.in/a/code-server.git synced 2025-01-07 17:18:46 +00:00
code-server-2/packages/protocol/src/proto/node.proto
2019-03-04 19:26:17 -08:00

33 lines
512 B
Protocol Buffer

syntax = "proto3";
message NewEvalMessage {
uint64 id = 1;
string function = 2;
repeated string args = 3;
// Timeout in ms
uint32 timeout = 4;
// Create active eval message.
// Allows for dynamic communication for an eval
bool active = 5;
}
message EvalEventMessage {
uint64 id = 1;
string event = 2;
repeated string args = 3;
}
message EvalFailedMessage {
uint64 id = 1;
string response = 2;
}
message EvalDoneMessage {
uint64 id = 1;
string response = 2;
}
message Ping {}
message Pong {}