public override void Prepare(Record parameter) { var record = Utils.DeepClone(parameter); Host = record.Host; Settings = record.NaiveProxySettings; }
public static string BuildNaiveProxy(NaiveProxySettings settings) { StringBuilder strBuilder = new StringBuilder(); strBuilder.Append("naive+https://"); strBuilder.Append($"{settings.UserName}:{settings.Password}"); strBuilder.Append($"@{settings.Domain}:{settings.Port}"); strBuilder.Append("?padding=true#naive_proxy"); return(strBuilder.ToString()); }
public override void Prepare(Record parameter) { _host = parameter.Host; _settings = parameter.NaiveProxySettings; }