feat: xray api support (#1679)
* refactoring: moved shared code into reusable functions for ApiConfigsController * feat: add xray support in apiConfigsController * feat: added a temporary switch for the xray protocol on api settings page * feat: added supported protocols field processing * refactoring: moved IsProtocolSelectionSupported to apiAccountInfoModel
This commit is contained in:
parent
4d17e913b5
commit
efcc0b7efc
6 changed files with 330 additions and 215 deletions
|
|
@ -32,6 +32,7 @@ namespace apiDefs
|
|||
constexpr QLatin1String stackType("stack_type");
|
||||
constexpr QLatin1String serviceType("service_type");
|
||||
constexpr QLatin1String cliVersion("cli_version");
|
||||
constexpr QLatin1String supportedProtocols("supported_protocols");
|
||||
|
||||
constexpr QLatin1String vpnKey("vpn_key");
|
||||
constexpr QLatin1String config("config");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue