github.com/xraypb/Xray-core@v1.8.1/transport/internet/headers/http/config.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.28.1 4 // protoc v3.21.12 5 // source: transport/internet/headers/http/config.proto 6 7 package http 8 9 import ( 10 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 11 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 12 reflect "reflect" 13 sync "sync" 14 ) 15 16 const ( 17 // Verify that this generated code is sufficiently up-to-date. 18 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 19 // Verify that runtime/protoimpl is sufficiently up-to-date. 20 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 21 ) 22 23 type Header struct { 24 state protoimpl.MessageState 25 sizeCache protoimpl.SizeCache 26 unknownFields protoimpl.UnknownFields 27 28 // "Accept", "Cookie", etc 29 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 30 // Each entry must be valid in one piece. Random entry will be chosen if 31 // multiple entries present. 32 Value []string `protobuf:"bytes,2,rep,name=value,proto3" json:"value,omitempty"` 33 } 34 35 func (x *Header) Reset() { 36 *x = Header{} 37 if protoimpl.UnsafeEnabled { 38 mi := &file_transport_internet_headers_http_config_proto_msgTypes[0] 39 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 40 ms.StoreMessageInfo(mi) 41 } 42 } 43 44 func (x *Header) String() string { 45 return protoimpl.X.MessageStringOf(x) 46 } 47 48 func (*Header) ProtoMessage() {} 49 50 func (x *Header) ProtoReflect() protoreflect.Message { 51 mi := &file_transport_internet_headers_http_config_proto_msgTypes[0] 52 if protoimpl.UnsafeEnabled && x != nil { 53 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 54 if ms.LoadMessageInfo() == nil { 55 ms.StoreMessageInfo(mi) 56 } 57 return ms 58 } 59 return mi.MessageOf(x) 60 } 61 62 // Deprecated: Use Header.ProtoReflect.Descriptor instead. 63 func (*Header) Descriptor() ([]byte, []int) { 64 return file_transport_internet_headers_http_config_proto_rawDescGZIP(), []int{0} 65 } 66 67 func (x *Header) GetName() string { 68 if x != nil { 69 return x.Name 70 } 71 return "" 72 } 73 74 func (x *Header) GetValue() []string { 75 if x != nil { 76 return x.Value 77 } 78 return nil 79 } 80 81 // HTTP version. Default value "1.1". 82 type Version struct { 83 state protoimpl.MessageState 84 sizeCache protoimpl.SizeCache 85 unknownFields protoimpl.UnknownFields 86 87 Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` 88 } 89 90 func (x *Version) Reset() { 91 *x = Version{} 92 if protoimpl.UnsafeEnabled { 93 mi := &file_transport_internet_headers_http_config_proto_msgTypes[1] 94 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 95 ms.StoreMessageInfo(mi) 96 } 97 } 98 99 func (x *Version) String() string { 100 return protoimpl.X.MessageStringOf(x) 101 } 102 103 func (*Version) ProtoMessage() {} 104 105 func (x *Version) ProtoReflect() protoreflect.Message { 106 mi := &file_transport_internet_headers_http_config_proto_msgTypes[1] 107 if protoimpl.UnsafeEnabled && x != nil { 108 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 109 if ms.LoadMessageInfo() == nil { 110 ms.StoreMessageInfo(mi) 111 } 112 return ms 113 } 114 return mi.MessageOf(x) 115 } 116 117 // Deprecated: Use Version.ProtoReflect.Descriptor instead. 118 func (*Version) Descriptor() ([]byte, []int) { 119 return file_transport_internet_headers_http_config_proto_rawDescGZIP(), []int{1} 120 } 121 122 func (x *Version) GetValue() string { 123 if x != nil { 124 return x.Value 125 } 126 return "" 127 } 128 129 // HTTP method. Default value "GET". 130 type Method struct { 131 state protoimpl.MessageState 132 sizeCache protoimpl.SizeCache 133 unknownFields protoimpl.UnknownFields 134 135 Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` 136 } 137 138 func (x *Method) Reset() { 139 *x = Method{} 140 if protoimpl.UnsafeEnabled { 141 mi := &file_transport_internet_headers_http_config_proto_msgTypes[2] 142 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 143 ms.StoreMessageInfo(mi) 144 } 145 } 146 147 func (x *Method) String() string { 148 return protoimpl.X.MessageStringOf(x) 149 } 150 151 func (*Method) ProtoMessage() {} 152 153 func (x *Method) ProtoReflect() protoreflect.Message { 154 mi := &file_transport_internet_headers_http_config_proto_msgTypes[2] 155 if protoimpl.UnsafeEnabled && x != nil { 156 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 157 if ms.LoadMessageInfo() == nil { 158 ms.StoreMessageInfo(mi) 159 } 160 return ms 161 } 162 return mi.MessageOf(x) 163 } 164 165 // Deprecated: Use Method.ProtoReflect.Descriptor instead. 166 func (*Method) Descriptor() ([]byte, []int) { 167 return file_transport_internet_headers_http_config_proto_rawDescGZIP(), []int{2} 168 } 169 170 func (x *Method) GetValue() string { 171 if x != nil { 172 return x.Value 173 } 174 return "" 175 } 176 177 type RequestConfig struct { 178 state protoimpl.MessageState 179 sizeCache protoimpl.SizeCache 180 unknownFields protoimpl.UnknownFields 181 182 // Full HTTP version like "1.1". 183 Version *Version `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` 184 // GET, POST, CONNECT etc 185 Method *Method `protobuf:"bytes,2,opt,name=method,proto3" json:"method,omitempty"` 186 // URI like "/login.php" 187 Uri []string `protobuf:"bytes,3,rep,name=uri,proto3" json:"uri,omitempty"` 188 Header []*Header `protobuf:"bytes,4,rep,name=header,proto3" json:"header,omitempty"` 189 } 190 191 func (x *RequestConfig) Reset() { 192 *x = RequestConfig{} 193 if protoimpl.UnsafeEnabled { 194 mi := &file_transport_internet_headers_http_config_proto_msgTypes[3] 195 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 196 ms.StoreMessageInfo(mi) 197 } 198 } 199 200 func (x *RequestConfig) String() string { 201 return protoimpl.X.MessageStringOf(x) 202 } 203 204 func (*RequestConfig) ProtoMessage() {} 205 206 func (x *RequestConfig) ProtoReflect() protoreflect.Message { 207 mi := &file_transport_internet_headers_http_config_proto_msgTypes[3] 208 if protoimpl.UnsafeEnabled && x != nil { 209 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 210 if ms.LoadMessageInfo() == nil { 211 ms.StoreMessageInfo(mi) 212 } 213 return ms 214 } 215 return mi.MessageOf(x) 216 } 217 218 // Deprecated: Use RequestConfig.ProtoReflect.Descriptor instead. 219 func (*RequestConfig) Descriptor() ([]byte, []int) { 220 return file_transport_internet_headers_http_config_proto_rawDescGZIP(), []int{3} 221 } 222 223 func (x *RequestConfig) GetVersion() *Version { 224 if x != nil { 225 return x.Version 226 } 227 return nil 228 } 229 230 func (x *RequestConfig) GetMethod() *Method { 231 if x != nil { 232 return x.Method 233 } 234 return nil 235 } 236 237 func (x *RequestConfig) GetUri() []string { 238 if x != nil { 239 return x.Uri 240 } 241 return nil 242 } 243 244 func (x *RequestConfig) GetHeader() []*Header { 245 if x != nil { 246 return x.Header 247 } 248 return nil 249 } 250 251 type Status struct { 252 state protoimpl.MessageState 253 sizeCache protoimpl.SizeCache 254 unknownFields protoimpl.UnknownFields 255 256 // Status code. Default "200". 257 Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"` 258 // Statue reason. Default "OK". 259 Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"` 260 } 261 262 func (x *Status) Reset() { 263 *x = Status{} 264 if protoimpl.UnsafeEnabled { 265 mi := &file_transport_internet_headers_http_config_proto_msgTypes[4] 266 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 267 ms.StoreMessageInfo(mi) 268 } 269 } 270 271 func (x *Status) String() string { 272 return protoimpl.X.MessageStringOf(x) 273 } 274 275 func (*Status) ProtoMessage() {} 276 277 func (x *Status) ProtoReflect() protoreflect.Message { 278 mi := &file_transport_internet_headers_http_config_proto_msgTypes[4] 279 if protoimpl.UnsafeEnabled && x != nil { 280 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 281 if ms.LoadMessageInfo() == nil { 282 ms.StoreMessageInfo(mi) 283 } 284 return ms 285 } 286 return mi.MessageOf(x) 287 } 288 289 // Deprecated: Use Status.ProtoReflect.Descriptor instead. 290 func (*Status) Descriptor() ([]byte, []int) { 291 return file_transport_internet_headers_http_config_proto_rawDescGZIP(), []int{4} 292 } 293 294 func (x *Status) GetCode() string { 295 if x != nil { 296 return x.Code 297 } 298 return "" 299 } 300 301 func (x *Status) GetReason() string { 302 if x != nil { 303 return x.Reason 304 } 305 return "" 306 } 307 308 type ResponseConfig struct { 309 state protoimpl.MessageState 310 sizeCache protoimpl.SizeCache 311 unknownFields protoimpl.UnknownFields 312 313 Version *Version `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` 314 Status *Status `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` 315 Header []*Header `protobuf:"bytes,3,rep,name=header,proto3" json:"header,omitempty"` 316 } 317 318 func (x *ResponseConfig) Reset() { 319 *x = ResponseConfig{} 320 if protoimpl.UnsafeEnabled { 321 mi := &file_transport_internet_headers_http_config_proto_msgTypes[5] 322 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 323 ms.StoreMessageInfo(mi) 324 } 325 } 326 327 func (x *ResponseConfig) String() string { 328 return protoimpl.X.MessageStringOf(x) 329 } 330 331 func (*ResponseConfig) ProtoMessage() {} 332 333 func (x *ResponseConfig) ProtoReflect() protoreflect.Message { 334 mi := &file_transport_internet_headers_http_config_proto_msgTypes[5] 335 if protoimpl.UnsafeEnabled && x != nil { 336 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 337 if ms.LoadMessageInfo() == nil { 338 ms.StoreMessageInfo(mi) 339 } 340 return ms 341 } 342 return mi.MessageOf(x) 343 } 344 345 // Deprecated: Use ResponseConfig.ProtoReflect.Descriptor instead. 346 func (*ResponseConfig) Descriptor() ([]byte, []int) { 347 return file_transport_internet_headers_http_config_proto_rawDescGZIP(), []int{5} 348 } 349 350 func (x *ResponseConfig) GetVersion() *Version { 351 if x != nil { 352 return x.Version 353 } 354 return nil 355 } 356 357 func (x *ResponseConfig) GetStatus() *Status { 358 if x != nil { 359 return x.Status 360 } 361 return nil 362 } 363 364 func (x *ResponseConfig) GetHeader() []*Header { 365 if x != nil { 366 return x.Header 367 } 368 return nil 369 } 370 371 type Config struct { 372 state protoimpl.MessageState 373 sizeCache protoimpl.SizeCache 374 unknownFields protoimpl.UnknownFields 375 376 // Settings for authenticating requests. If not set, client side will not send 377 // authenication header, and server side will bypass authentication. 378 Request *RequestConfig `protobuf:"bytes,1,opt,name=request,proto3" json:"request,omitempty"` 379 // Settings for authenticating responses. If not set, client side will bypass 380 // authentication, and server side will not send authentication header. 381 Response *ResponseConfig `protobuf:"bytes,2,opt,name=response,proto3" json:"response,omitempty"` 382 } 383 384 func (x *Config) Reset() { 385 *x = Config{} 386 if protoimpl.UnsafeEnabled { 387 mi := &file_transport_internet_headers_http_config_proto_msgTypes[6] 388 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 389 ms.StoreMessageInfo(mi) 390 } 391 } 392 393 func (x *Config) String() string { 394 return protoimpl.X.MessageStringOf(x) 395 } 396 397 func (*Config) ProtoMessage() {} 398 399 func (x *Config) ProtoReflect() protoreflect.Message { 400 mi := &file_transport_internet_headers_http_config_proto_msgTypes[6] 401 if protoimpl.UnsafeEnabled && x != nil { 402 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 403 if ms.LoadMessageInfo() == nil { 404 ms.StoreMessageInfo(mi) 405 } 406 return ms 407 } 408 return mi.MessageOf(x) 409 } 410 411 // Deprecated: Use Config.ProtoReflect.Descriptor instead. 412 func (*Config) Descriptor() ([]byte, []int) { 413 return file_transport_internet_headers_http_config_proto_rawDescGZIP(), []int{6} 414 } 415 416 func (x *Config) GetRequest() *RequestConfig { 417 if x != nil { 418 return x.Request 419 } 420 return nil 421 } 422 423 func (x *Config) GetResponse() *ResponseConfig { 424 if x != nil { 425 return x.Response 426 } 427 return nil 428 } 429 430 var File_transport_internet_headers_http_config_proto protoreflect.FileDescriptor 431 432 var file_transport_internet_headers_http_config_proto_rawDesc = []byte{ 433 0x0a, 0x2c, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x69, 0x6e, 0x74, 0x65, 434 0x72, 0x6e, 0x65, 0x74, 0x2f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x2f, 0x68, 0x74, 0x74, 435 0x70, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x24, 436 0x78, 0x72, 0x61, 0x79, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 437 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x2e, 438 0x68, 0x74, 0x74, 0x70, 0x22, 0x32, 0x0a, 0x06, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x12, 439 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 440 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x03, 0x28, 441 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x1f, 0x0a, 0x07, 0x56, 0x65, 0x72, 0x73, 442 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 443 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x1e, 0x0a, 0x06, 0x4d, 0x65, 0x74, 444 0x68, 0x6f, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 445 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0xf6, 0x01, 0x0a, 0x0d, 0x52, 0x65, 446 0x71, 0x75, 0x65, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x47, 0x0a, 0x07, 0x76, 447 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x78, 448 0x72, 0x61, 0x79, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 449 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x2e, 0x68, 450 0x74, 0x74, 0x70, 0x2e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x76, 0x65, 0x72, 451 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x44, 0x0a, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x18, 0x02, 452 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x74, 0x72, 0x61, 0x6e, 453 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x68, 454 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x2e, 0x68, 0x74, 0x74, 0x70, 0x2e, 0x4d, 0x65, 0x74, 0x68, 455 0x6f, 0x64, 0x52, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 456 0x69, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x69, 0x12, 0x44, 0x0a, 0x06, 457 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x78, 458 0x72, 0x61, 0x79, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 459 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x2e, 0x68, 460 0x74, 0x74, 0x70, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x06, 0x68, 0x65, 0x61, 0x64, 461 0x65, 0x72, 0x22, 0x34, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x12, 0x0a, 0x04, 462 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 463 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 464 0x52, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x22, 0xe5, 0x01, 0x0a, 0x0e, 0x52, 0x65, 0x73, 465 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x47, 0x0a, 0x07, 0x76, 466 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x78, 467 0x72, 0x61, 0x79, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 468 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x2e, 0x68, 469 0x74, 0x74, 0x70, 0x2e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x76, 0x65, 0x72, 470 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x44, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 471 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x74, 0x72, 0x61, 0x6e, 472 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x68, 473 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x2e, 0x68, 0x74, 0x74, 0x70, 0x2e, 0x53, 0x74, 0x61, 0x74, 474 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x44, 0x0a, 0x06, 0x68, 0x65, 475 0x61, 0x64, 0x65, 0x72, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x78, 0x72, 0x61, 476 0x79, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 477 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x2e, 0x68, 0x74, 0x74, 478 0x70, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 479 0x22, 0xa9, 0x01, 0x0a, 0x06, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x4d, 0x0a, 0x07, 0x72, 480 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x78, 481 0x72, 0x61, 0x79, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 482 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x2e, 0x68, 483 0x74, 0x74, 0x70, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 484 0x67, 0x52, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x50, 0x0a, 0x08, 0x72, 0x65, 485 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x78, 486 0x72, 0x61, 0x79, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 487 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x2e, 0x68, 488 0x74, 0x74, 0x70, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x43, 0x6f, 0x6e, 0x66, 489 0x69, 0x67, 0x52, 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x8e, 0x01, 0x0a, 490 0x28, 0x63, 0x6f, 0x6d, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 491 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x68, 0x65, 0x61, 492 0x64, 0x65, 0x72, 0x73, 0x2e, 0x68, 0x74, 0x74, 0x70, 0x50, 0x01, 0x5a, 0x39, 0x67, 0x69, 0x74, 493 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x78, 0x74, 0x6c, 0x73, 0x2f, 0x78, 0x72, 0x61, 494 0x79, 0x2d, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 495 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 496 0x73, 0x2f, 0x68, 0x74, 0x74, 0x70, 0xaa, 0x02, 0x24, 0x58, 0x72, 0x61, 0x79, 0x2e, 0x54, 0x72, 497 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 498 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x2e, 0x48, 0x74, 0x74, 0x70, 0x62, 0x06, 0x70, 499 0x72, 0x6f, 0x74, 0x6f, 0x33, 500 } 501 502 var ( 503 file_transport_internet_headers_http_config_proto_rawDescOnce sync.Once 504 file_transport_internet_headers_http_config_proto_rawDescData = file_transport_internet_headers_http_config_proto_rawDesc 505 ) 506 507 func file_transport_internet_headers_http_config_proto_rawDescGZIP() []byte { 508 file_transport_internet_headers_http_config_proto_rawDescOnce.Do(func() { 509 file_transport_internet_headers_http_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_transport_internet_headers_http_config_proto_rawDescData) 510 }) 511 return file_transport_internet_headers_http_config_proto_rawDescData 512 } 513 514 var file_transport_internet_headers_http_config_proto_msgTypes = make([]protoimpl.MessageInfo, 7) 515 var file_transport_internet_headers_http_config_proto_goTypes = []interface{}{ 516 (*Header)(nil), // 0: xray.transport.internet.headers.http.Header 517 (*Version)(nil), // 1: xray.transport.internet.headers.http.Version 518 (*Method)(nil), // 2: xray.transport.internet.headers.http.Method 519 (*RequestConfig)(nil), // 3: xray.transport.internet.headers.http.RequestConfig 520 (*Status)(nil), // 4: xray.transport.internet.headers.http.Status 521 (*ResponseConfig)(nil), // 5: xray.transport.internet.headers.http.ResponseConfig 522 (*Config)(nil), // 6: xray.transport.internet.headers.http.Config 523 } 524 var file_transport_internet_headers_http_config_proto_depIdxs = []int32{ 525 1, // 0: xray.transport.internet.headers.http.RequestConfig.version:type_name -> xray.transport.internet.headers.http.Version 526 2, // 1: xray.transport.internet.headers.http.RequestConfig.method:type_name -> xray.transport.internet.headers.http.Method 527 0, // 2: xray.transport.internet.headers.http.RequestConfig.header:type_name -> xray.transport.internet.headers.http.Header 528 1, // 3: xray.transport.internet.headers.http.ResponseConfig.version:type_name -> xray.transport.internet.headers.http.Version 529 4, // 4: xray.transport.internet.headers.http.ResponseConfig.status:type_name -> xray.transport.internet.headers.http.Status 530 0, // 5: xray.transport.internet.headers.http.ResponseConfig.header:type_name -> xray.transport.internet.headers.http.Header 531 3, // 6: xray.transport.internet.headers.http.Config.request:type_name -> xray.transport.internet.headers.http.RequestConfig 532 5, // 7: xray.transport.internet.headers.http.Config.response:type_name -> xray.transport.internet.headers.http.ResponseConfig 533 8, // [8:8] is the sub-list for method output_type 534 8, // [8:8] is the sub-list for method input_type 535 8, // [8:8] is the sub-list for extension type_name 536 8, // [8:8] is the sub-list for extension extendee 537 0, // [0:8] is the sub-list for field type_name 538 } 539 540 func init() { file_transport_internet_headers_http_config_proto_init() } 541 func file_transport_internet_headers_http_config_proto_init() { 542 if File_transport_internet_headers_http_config_proto != nil { 543 return 544 } 545 if !protoimpl.UnsafeEnabled { 546 file_transport_internet_headers_http_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 547 switch v := v.(*Header); i { 548 case 0: 549 return &v.state 550 case 1: 551 return &v.sizeCache 552 case 2: 553 return &v.unknownFields 554 default: 555 return nil 556 } 557 } 558 file_transport_internet_headers_http_config_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 559 switch v := v.(*Version); i { 560 case 0: 561 return &v.state 562 case 1: 563 return &v.sizeCache 564 case 2: 565 return &v.unknownFields 566 default: 567 return nil 568 } 569 } 570 file_transport_internet_headers_http_config_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 571 switch v := v.(*Method); i { 572 case 0: 573 return &v.state 574 case 1: 575 return &v.sizeCache 576 case 2: 577 return &v.unknownFields 578 default: 579 return nil 580 } 581 } 582 file_transport_internet_headers_http_config_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 583 switch v := v.(*RequestConfig); i { 584 case 0: 585 return &v.state 586 case 1: 587 return &v.sizeCache 588 case 2: 589 return &v.unknownFields 590 default: 591 return nil 592 } 593 } 594 file_transport_internet_headers_http_config_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 595 switch v := v.(*Status); i { 596 case 0: 597 return &v.state 598 case 1: 599 return &v.sizeCache 600 case 2: 601 return &v.unknownFields 602 default: 603 return nil 604 } 605 } 606 file_transport_internet_headers_http_config_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 607 switch v := v.(*ResponseConfig); i { 608 case 0: 609 return &v.state 610 case 1: 611 return &v.sizeCache 612 case 2: 613 return &v.unknownFields 614 default: 615 return nil 616 } 617 } 618 file_transport_internet_headers_http_config_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 619 switch v := v.(*Config); i { 620 case 0: 621 return &v.state 622 case 1: 623 return &v.sizeCache 624 case 2: 625 return &v.unknownFields 626 default: 627 return nil 628 } 629 } 630 } 631 type x struct{} 632 out := protoimpl.TypeBuilder{ 633 File: protoimpl.DescBuilder{ 634 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 635 RawDescriptor: file_transport_internet_headers_http_config_proto_rawDesc, 636 NumEnums: 0, 637 NumMessages: 7, 638 NumExtensions: 0, 639 NumServices: 0, 640 }, 641 GoTypes: file_transport_internet_headers_http_config_proto_goTypes, 642 DependencyIndexes: file_transport_internet_headers_http_config_proto_depIdxs, 643 MessageInfos: file_transport_internet_headers_http_config_proto_msgTypes, 644 }.Build() 645 File_transport_internet_headers_http_config_proto = out.File 646 file_transport_internet_headers_http_config_proto_rawDesc = nil 647 file_transport_internet_headers_http_config_proto_goTypes = nil 648 file_transport_internet_headers_http_config_proto_depIdxs = nil 649 }