public HttpClientBase(HttpClientConfig httpClientConfig) { _mediaTypeAccept = httpClientConfig.MediaTypeAccept; _contentType = httpClientConfig.ContentType; _webProxy = httpClientConfig.Proxy; _bearerToken = httpClientConfig.BearerToken; _timeOut = httpClientConfig.TimeOut; _maxConnectionsPerServer = httpClientConfig.MaxConnectionsPerServer; _maxAutomaticRedirections = httpClientConfig.MaxAutomaticRedirections; _browserUserAgent = httpClientConfig.BrowserUserAgent; _httpClient = CreateHttpClienWithHandler(httpClientConfig.BaseAddress); }
public HttpRestBuilder(HttpClientConfig httpClientConfig) : base(httpClientConfig) { }