0
mirror of https://github.com/XTLS/Xray-core.git synced 2025-06-13 20:09:36 +03:00

Add header and method support to http2 transport (#755)

Co-authored-by: Shelikhoo <xiaokangwang@outlook.com>
This commit is contained in:
yuhan6665
2021-10-12 11:58:12 -04:00
committed by GitHub
parent 4bb61701b5
commit e6711d1b48
5 changed files with 106 additions and 33 deletions

View File

@ -6,9 +6,13 @@ option go_package = "github.com/xtls/xray-core/transport/internet/http";
option java_package = "com.xray.transport.internet.http";
option java_multiple_files = true;
import "transport/internet/headers/http/config.proto";
message Config {
repeated string host = 1;
string path = 2;
int32 idle_timeout = 3;
int32 health_check_timeout = 4;
string method = 5;
repeated xray.transport.internet.headers.http.Header header = 6;
}