packages/share/v2ray/helpers/common
library
Functions
-
getAddressOrDefault(String? listen)
→ String
-
-
getClientByEmail<T>(List<T> clients, String? email, String inboundTag)
→ T
-
Find client by
email in provided clients list or throw a clear error.
Find client by email in provided clients list or throw a clear error.
-
-
parseAndValidate(String config, List<String> expectedSchemes)
→ Uri
-
Parse
config into Uri and validate scheme equals expectedScheme.
-
Build outbound remark from
fragment. If fragment contains a remark it is
expected to start with a leading char and will be returned without it.
Otherwise returns $prefix-$port.
-
searchHost()
→ String
-