public HttpApiClient(string host) { Uri = new Uri(host); Header = new Header(); Formater = new FormUrlFormater(); Host = Uri.Host; mPoolKey = $"{Uri.Host}:{Uri.Port}"; }
public HttpHost(Uri host) { this.Uri = host; Formater = new FormUrlFormater(); Host = this.Uri.Host; Port = this.Uri.Port; mPoolKey = $"{this.Uri.Host}:{this.Uri.Port}"; mPool = HttpClientPoolFactory.GetPool(mPoolKey, this.Uri); Available = true; InVerify = false; }