syntax = "proto3";

package xray.transport.internet.hysteria;
option csharp_namespace = "Xray.Transport.Internet.Hysteria";
option go_package = "github.com/xtls/xray-core/transport/internet/hysteria";
option java_package = "com.xray.transport.internet.hysteria";
option java_multiple_files = true;

message Config {
  int32 version = 1;
  string auth = 2;

  int64 udp_idle_timeout = 3;
  string masq_type = 4;
  string masq_file = 5;
  string masq_url = 6;
  bool masq_url_rewrite_host = 7;
  bool masq_url_insecure = 8;
  string masq_string = 9;
  map<string, string> masq_string_headers = 10;
  int32 masq_string_status_code = 11;
}