public Tuple <JObject, JToken> Decode(string shareLink) { try { var vc = ParseVlessUrl(shareLink); if (vc != null) { var vee = vc.ToVeeShareLink(); return(veeDecoder.Decode(vee)); } } catch { } return(null); }
public Tuple <JObject, JToken> Decode(string shareLink) { /* * trojan://password@remote_host:remote_port * in which the password is url-encoded in case it contains illegal characters. */ try { var vc = ParseTrojanUrl(shareLink); if (vc != null) { var vee = vc.ToVeeShareLink(); return(veeDecoder.Decode(vee)); } } catch { } return(null); }