mirror of
https://github.com/XTLS/Xray-core.git
synced 2024-11-23 21:56:06 +03:00
b30e05d1bc
* SplitHTTP client: Add real upload / download splitting * Transport: Add XHTTP as an alias of SplitHTTP * XHTTP config: Use `downloadSettings` instead
35 lines
960 B
Protocol Buffer
35 lines
960 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package xray.transport.internet.splithttp;
|
|
option csharp_namespace = "Xray.Transport.Internet.SplitHttp";
|
|
option go_package = "github.com/xtls/xray-core/transport/internet/splithttp";
|
|
option java_package = "com.xray.transport.internet.splithttp";
|
|
option java_multiple_files = true;
|
|
|
|
import "transport/internet/config.proto";
|
|
|
|
message Config {
|
|
string host = 1;
|
|
string path = 2;
|
|
map<string, string> header = 3;
|
|
RandRangeConfig scMaxConcurrentPosts = 4;
|
|
RandRangeConfig scMaxEachPostBytes = 5;
|
|
RandRangeConfig scMinPostsIntervalMs = 6;
|
|
bool noSSEHeader = 7;
|
|
RandRangeConfig xPaddingBytes = 8;
|
|
Multiplexing xmux = 9;
|
|
xray.transport.internet.StreamConfig downloadSettings = 10;
|
|
}
|
|
|
|
message RandRangeConfig {
|
|
int32 from = 1;
|
|
int32 to = 2;
|
|
}
|
|
|
|
message Multiplexing {
|
|
RandRangeConfig maxConcurrency = 1;
|
|
RandRangeConfig maxConnections = 2;
|
|
RandRangeConfig cMaxReuseTimes = 3;
|
|
RandRangeConfig cMaxLifetimeMs = 4;
|
|
}
|