mirror of
https://github.com/MatsuriDayo/nekoray.git
synced 2025-12-18 04:54:38 +03:00
alpn settings
This commit is contained in:
@@ -11,13 +11,11 @@ namespace NekoRay::fmt {
|
||||
// ws/h2/grpc
|
||||
QString path = "";
|
||||
QString host = "";
|
||||
// ws
|
||||
int max_early_data = 0;
|
||||
QString early_data_header_name = "";
|
||||
// QUIC & KCP
|
||||
QString header_type = "";
|
||||
// tls
|
||||
QString sni = "";
|
||||
QString alpn = "";
|
||||
QString certificate = "";
|
||||
bool allow_insecure = false;
|
||||
|
||||
@@ -28,10 +26,9 @@ namespace NekoRay::fmt {
|
||||
_add(new configItem("path", &path, itemType::string));
|
||||
_add(new configItem("host", &host, itemType::string));
|
||||
_add(new configItem("sni", &sni, itemType::string));
|
||||
_add(new configItem("alpn", &alpn, itemType::string));
|
||||
_add(new configItem("cert", &certificate, itemType::string));
|
||||
_add(new configItem("insecure", &allow_insecure, itemType::boolean));
|
||||
_add(new configItem("ws_med", &max_early_data, itemType::integer));
|
||||
_add(new configItem("ws_edhn", &early_data_header_name, itemType::string));
|
||||
_add(new configItem("h_type", &header_type, itemType::string));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user