Home
last modified time | relevance | path

Searched refs:_httpClient (Results 1 – 1 of 1) sorted by relevance

/thrift-3.4.0/lib/netstd/Thrift/Transport/Client/
DTHttpTransport.cs38 private HttpClient _httpClient; field in Thrift.Transport.Client.THttpTransport
60 _httpClient = CreateClient(customRequestHeaders); in THttpTransport()
61 ConfigureClient(_httpClient); in THttpTransport()
78 _httpClient = httpClient; in THttpTransport()
83 var userAgent = _httpClient.DefaultRequestHeaders.UserAgent.ToString(); in THttpTransport()
87 ConfigureClient(_httpClient); in THttpTransport()
98 if(_httpClient != null)
99 _httpClient.Timeout = TimeSpan.FromMilliseconds(_connectTimeout);
103 if (_httpClient == null)
105 return (int)_httpClient.Timeout.TotalMilliseconds;
[all …]