Add cloudflare warp options

This commit is contained in:
problematicconsumer
2024-02-03 12:36:27 +03:30
parent 18f1f389e0
commit 11defeb010
16 changed files with 426 additions and 22 deletions

View File

@@ -78,3 +78,13 @@ enum MuxProtocol {
smux,
yamux;
}
enum WarpDetourMode {
outbound,
inbound;
String present(TranslationsEn t) => switch (this) {
outbound => t.settings.config.warpDetourModes.outbound,
inbound => t.settings.config.warpDetourModes.inbound,
};
}