1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-10-18 09:43:38 -04:00
v2fly/transport/internet/hysteria2/config.proto
2024-09-08 08:38:05 +01:00

27 lines
743 B
Protocol Buffer

syntax = "proto3";
package v2ray.core.transport.internet.hysteria2;
option csharp_namespace = "V2Ray.Core.Transport.Internet.Hysteria2";
option go_package = "github.com/v2fly/v2ray-core/v5/transport/internet/hysteria2";
option java_package = "com.v2ray.core.transport.internet.hysteria2";
option java_multiple_files = true;
import "common/protoext/extensions.proto";
message Congestion{
string type = 1;
uint64 up_mbps = 2;
uint64 down_mbps = 3;
}
message Config {
option (v2ray.core.common.protoext.message_opt).type = "transport";
option (v2ray.core.common.protoext.message_opt).short_name = "hysteria2";
string password = 3;
Congestion congestion = 4;
bool ignore_client_bandwidth = 5;
bool use_udp_extension = 6;
}