2024-06-18 08:36:36 +03:00
|
|
|
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;
|
|
|
|
|
2024-10-31 10:31:19 +03:00
|
|
|
import "transport/internet/config.proto";
|
|
|
|
|
2024-12-15 08:43:10 +03:00
|
|
|
message RangeConfig {
|
|
|
|
int32 from = 1;
|
|
|
|
int32 to = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message XmuxConfig {
|
|
|
|
RangeConfig maxConcurrency = 1;
|
|
|
|
RangeConfig maxConnections = 2;
|
|
|
|
RangeConfig cMaxReuseTimes = 3;
|
2024-12-31 13:00:19 +03:00
|
|
|
RangeConfig hMaxRequestTimes = 4;
|
|
|
|
RangeConfig hMaxReusableSecs = 5;
|
2024-12-15 08:43:10 +03:00
|
|
|
int64 hKeepAlivePeriod = 6;
|
|
|
|
}
|
|
|
|
|
2024-06-18 08:36:36 +03:00
|
|
|
message Config {
|
|
|
|
string host = 1;
|
|
|
|
string path = 2;
|
2024-12-11 17:05:39 +03:00
|
|
|
string mode = 3;
|
|
|
|
map<string, string> headers = 4;
|
2024-12-15 08:43:10 +03:00
|
|
|
RangeConfig xPaddingBytes = 5;
|
2024-12-11 17:05:39 +03:00
|
|
|
bool noGRPCHeader = 6;
|
2024-07-29 09:32:04 +03:00
|
|
|
bool noSSEHeader = 7;
|
2024-12-15 08:43:10 +03:00
|
|
|
RangeConfig scMaxEachPostBytes = 8;
|
|
|
|
RangeConfig scMinPostsIntervalMs = 9;
|
2024-12-11 17:05:39 +03:00
|
|
|
int64 scMaxBufferedPosts = 10;
|
2024-12-15 08:43:10 +03:00
|
|
|
XmuxConfig xmux = 11;
|
|
|
|
xray.transport.internet.StreamConfig downloadSettings = 12;
|
2024-09-16 15:42:01 +03:00
|
|
|
}
|