config.proto 984 B

12345678910111213141516171819202122232425262728
  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. }
  13. message ServerConfig {
  14. option (v2ray.core.common.protoext.message_opt).type = "transport.request.roundtripper.server";
  15. option (v2ray.core.common.protoext.message_opt).short_name = "httprt";
  16. HTTPConfig http = 1;
  17. bool no_decoding_session_tag = 2;
  18. }
  19. message HTTPConfig {
  20. string path = 1;
  21. string urlPrefix = 2;
  22. }