config.proto 1.0 KB

123456789101112131415161718192021222324252627282930
  1. syntax = "proto3";
  2. package v2ray.core.transport.internet.request.roundtripper.httprt;
  3. option csharp_namespace = "V2Ray.Core.Transport.Internet.Request.Roundtripper.httprt";
  4. option go_package = "github.com/v2fly/v2ray-core/v5/transport/internet/request/roundtripper/httprt";
  5. option java_package = "com.v2ray.core.transport.internet.request.roundtripper.httprt";
  6. option java_multiple_files = true;
  7. import "common/protoext/extensions.proto";
  8. message ClientConfig {
  9. option (v2ray.core.common.protoext.message_opt).type = "transport.request.roundtripper.client";
  10. option (v2ray.core.common.protoext.message_opt).short_name = "httprt";
  11. HTTPConfig http = 1;
  12. bool allow_http = 2;
  13. int32 h2_pool_size = 3;
  14. }
  15. message ServerConfig {
  16. option (v2ray.core.common.protoext.message_opt).type = "transport.request.roundtripper.server";
  17. option (v2ray.core.common.protoext.message_opt).short_name = "httprt";
  18. HTTPConfig http = 1;
  19. bool no_decoding_session_tag = 2;
  20. }
  21. message HTTPConfig {
  22. string path = 1;
  23. string urlPrefix = 2;
  24. }