gecko/vms/rpcchainvm/ghttp/greader/proto/reader.proto

16 lines
240 B
Protocol Buffer

syntax = "proto3";
package proto;
message ReadRequest {
int32 length = 1;
}
message ReadResponse {
bytes read = 1;
string error = 2;
bool errored = 3;
}
service Reader {
rpc Read(ReadRequest) returns (ReadResponse);
}