mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-10-19 18:23:38 -04:00
7db39fb566
* add packetconn assembler * let kcp use environment dependency injection * Add destination override to simplified setting * add dtls dialer * add dtls listener * add dtls to default * fix bugs * add debug options to freedom outbound * fix kcp test failure for transport environment
30 lines
1.0 KiB
Protocol Buffer
30 lines
1.0 KiB
Protocol Buffer
syntax = "proto3";
|
|
|
|
package v2ray.core.transport.internet.request.roundtripper.httprt;
|
|
option csharp_namespace = "V2Ray.Core.Transport.Internet.Request.Roundtripper.httprt";
|
|
option go_package = "github.com/v2fly/v2ray-core/v5/transport/internet/request/roundtripper/httprt";
|
|
option java_package = "com.v2ray.core.transport.internet.request.roundtripper.httprt";
|
|
option java_multiple_files = true;
|
|
|
|
import "common/protoext/extensions.proto";
|
|
|
|
message ClientConfig {
|
|
option (v2ray.core.common.protoext.message_opt).type = "transport.request.roundtripper.client";
|
|
option (v2ray.core.common.protoext.message_opt).short_name = "httprt";
|
|
|
|
HTTPConfig http = 1;
|
|
bool allow_http = 2;
|
|
int32 h2_pool_size = 3;
|
|
}
|
|
|
|
message ServerConfig {
|
|
option (v2ray.core.common.protoext.message_opt).type = "transport.request.roundtripper.server";
|
|
option (v2ray.core.common.protoext.message_opt).short_name = "httprt";
|
|
HTTPConfig http = 1;
|
|
bool no_decoding_session_tag = 2;
|
|
}
|
|
|
|
message HTTPConfig {
|
|
string path = 1;
|
|
string urlPrefix = 2;
|
|
} |