v2ray-core/common/net/network.proto

19 lines
328 B
Protocol Buffer
Raw Normal View History

2016-09-20 08:44:44 +00:00
syntax = "proto3";
2016-09-26 13:14:16 +00:00
package v2ray.core.common.net;
2016-09-20 08:44:44 +00:00
option go_package = "net";
2016-09-26 13:14:16 +00:00
option java_package = "com.v2ray.core.common.net";
option java_outer_classname = "NetworkProto";
2016-09-20 08:44:44 +00:00
enum Network {
Unknown = 0;
RawTCP = 1;
TCP = 2;
UDP = 3;
KCP = 4;
WebSocket = 5;
2016-09-22 10:14:50 +00:00
}
message NetworkList {
repeated Network network = 1;
2016-09-20 08:44:44 +00:00
}