config.proto 743 B

1234567891011121314151617181920212223242526
  1. syntax = "proto3";
  2. package v2ray.core.transport.internet.hysteria2;
  3. option csharp_namespace = "V2Ray.Core.Transport.Internet.Hysteria2";
  4. option go_package = "github.com/v2fly/v2ray-core/v5/transport/internet/hysteria2";
  5. option java_package = "com.v2ray.core.transport.internet.hysteria2";
  6. option java_multiple_files = true;
  7. import "common/protoext/extensions.proto";
  8. message Congestion{
  9. string type = 1;
  10. uint64 up_mbps = 2;
  11. uint64 down_mbps = 3;
  12. }
  13. message Config {
  14. option (v2ray.core.common.protoext.message_opt).type = "transport";
  15. option (v2ray.core.common.protoext.message_opt).short_name = "hysteria2";
  16. string password = 3;
  17. Congestion congestion = 4;
  18. bool ignore_client_bandwidth = 5;
  19. bool use_udp_extension = 6;
  20. }