Add misc preferences
This commit is contained in:
@@ -17,7 +17,7 @@ abstract class ClashFacade {
|
||||
|
||||
TaskEither<CoreServiceFailure, int> testDelay(
|
||||
String proxyName, {
|
||||
String testUrl = Defaults.delayTestUrl,
|
||||
String testUrl = Defaults.connectionTestUrl,
|
||||
});
|
||||
|
||||
Stream<Either<CoreServiceFailure, ClashTraffic>> watchTraffic();
|
||||
|
||||
@@ -14,5 +14,6 @@ abstract class Constants {
|
||||
abstract class Defaults {
|
||||
static const clashApiPort = 9090;
|
||||
static const mixedPort = 2334;
|
||||
static const delayTestUrl = "https://www.gstatic.com/generate_204";
|
||||
static const connectionTestUrl = "https://www.gstatic.com/generate_204";
|
||||
static const concurrentTestCount = 5;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user