mirror of
https://github.com/XTLS/Xray-core.git
synced 2025-06-15 07:48:40 +00:00
Update proto file for websocket and httpupgrade (breaking)
This commit is contained in:
parent
53e5814d19
commit
e2302b421c
12 changed files with 121 additions and 194 deletions
|
@ -6,20 +6,10 @@ option go_package = "github.com/xtls/xray-core/transport/internet/websocket";
|
|||
option java_package = "com.xray.transport.internet.websocket";
|
||||
option java_multiple_files = true;
|
||||
|
||||
message Header {
|
||||
string key = 1;
|
||||
string value = 2;
|
||||
}
|
||||
|
||||
message Config {
|
||||
reserved 1;
|
||||
|
||||
// URL path to the WebSocket service. Empty value means root(/).
|
||||
string path = 2;
|
||||
|
||||
repeated Header header = 3;
|
||||
|
||||
string host = 1;
|
||||
string path = 2; // URL path to the WebSocket service. Empty value means root(/).
|
||||
map<string, string> header = 3;
|
||||
bool accept_proxy_protocol = 4;
|
||||
|
||||
uint32 ed = 5;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue