mirror of https://github.com/XTLS/Xray-core
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
370 B
18 lines
370 B
syntax = "proto3";
|
|
|
|
package xray.transport.internet.grpc.encoding;
|
|
option go_package = "github.com/xtls/xray-core/transport/internet/grpc/encoding";
|
|
|
|
message Hunk {
|
|
bytes data = 1;
|
|
}
|
|
|
|
message MultiHunk {
|
|
repeated bytes data = 1;
|
|
}
|
|
|
|
service GRPCService {
|
|
rpc Tun (stream Hunk) returns (stream Hunk);
|
|
rpc TunMulti (stream MultiHunk) returns (stream MultiHunk);
|
|
}
|