2020-11-25 14:01:53 +03:00
|
|
|
syntax = "proto3";
|
|
|
|
|
|
|
|
package xray.transport.internet.websocket;
|
|
|
|
option csharp_namespace = "Xray.Transport.Internet.Websocket";
|
2020-12-04 04:36:16 +03:00
|
|
|
option go_package = "github.com/xtls/xray-core/transport/internet/websocket";
|
2020-11-25 14:01:53 +03:00
|
|
|
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;
|
|
|
|
|
|
|
|
bool accept_proxy_protocol = 4;
|
2021-03-14 10:10:10 +03:00
|
|
|
|
|
|
|
uint32 ed = 5;
|
2020-11-25 14:01:53 +03:00
|
|
|
}
|