mirror of
https://github.com/XTLS/Xray-core.git
synced 2024-11-23 17:11:28 +00:00
a0a32ee00d
Co-authored-by: JimhHan <50871214+JimhHan@users.noreply.github.com>
18 lines
370 B
Protocol Buffer
18 lines
370 B
Protocol Buffer
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);
|
|
}
|