2020-11-25 11:01:53 +00:00
|
|
|
syntax = "proto3";
|
|
|
|
|
|
|
|
package xray.transport.internet.websocket;
|
|
|
|
option csharp_namespace = "Xray.Transport.Internet.Websocket";
|
2020-12-04 01:36:16 +00:00
|
|
|
option go_package = "github.com/xtls/xray-core/transport/internet/websocket";
|
2020-11-25 11:01:53 +00:00
|
|
|
option java_package = "com.xray.transport.internet.websocket";
|
|
|
|
option java_multiple_files = true;
|
|
|
|
|
|
|
|
message Config {
|
2024-03-29 05:39:59 +00:00
|
|
|
string host = 1;
|
|
|
|
string path = 2; // URL path to the WebSocket service. Empty value means root(/).
|
|
|
|
map<string, string> header = 3;
|
2020-11-25 11:01:53 +00:00
|
|
|
bool accept_proxy_protocol = 4;
|
2021-03-14 07:10:10 +00:00
|
|
|
uint32 ed = 5;
|
2024-11-29 02:08:08 +00:00
|
|
|
uint32 heartbeatPeriod = 6;
|
2020-11-25 11:01:53 +00:00
|
|
|
}
|