github.com/moqsien/xraycore@v1.8.5/transport/internet/grpc/encoding/stream.proto (about) 1 syntax = "proto3"; 2 3 package xray.transport.internet.grpc.encoding; 4 option go_package = "github.com/xtls/xray-core/transport/internet/grpc/encoding"; 5 6 message Hunk { 7 bytes data = 1; 8 } 9 10 message MultiHunk { 11 repeated bytes data = 1; 12 } 13 14 service GRPCService { 15 rpc Tun (stream Hunk) returns (stream Hunk); 16 rpc TunMulti (stream MultiHunk) returns (stream MultiHunk); 17 }