mirror of
https://github.com/XTLS/Xray-core.git
synced 2024-08-22 04:36:26 +00:00
24 lines
550 B
Protocol Buffer
24 lines
550 B
Protocol Buffer
|
syntax = "proto3";
|
||
|
|
||
|
package xray.transport.internet.websocket;
|
||
|
option csharp_namespace = "Xray.Transport.Internet.Websocket";
|
||
|
option go_package = "github.com/xtls/xray-core/v1/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;
|
||
|
|
||
|
bool accept_proxy_protocol = 4;
|
||
|
}
|