mirror of
https://github.com/XTLS/Xray-core.git
synced 2024-12-22 05:29:50 +00:00
39 lines
1021 B
Protocol Buffer
39 lines
1021 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 RangeConfig {
|
|
int32 from = 1;
|
|
int32 to = 2;
|
|
}
|
|
|
|
message XmuxConfig {
|
|
RangeConfig maxConcurrency = 1;
|
|
RangeConfig maxConnections = 2;
|
|
RangeConfig cMaxReuseTimes = 3;
|
|
RangeConfig cMaxLifetimeMs = 4;
|
|
RangeConfig hMaxRequestTimes = 5;
|
|
int64 hKeepAlivePeriod = 6;
|
|
}
|
|
|
|
message Config {
|
|
string host = 1;
|
|
string path = 2;
|
|
string mode = 3;
|
|
map<string, string> headers = 4;
|
|
RangeConfig xPaddingBytes = 5;
|
|
bool noGRPCHeader = 6;
|
|
bool noSSEHeader = 7;
|
|
RangeConfig scMaxEachPostBytes = 8;
|
|
RangeConfig scMinPostsIntervalMs = 9;
|
|
int64 scMaxBufferedPosts = 10;
|
|
XmuxConfig xmux = 11;
|
|
xray.transport.internet.StreamConfig downloadSettings = 12;
|
|
}
|