Skip to main content

Class HttpClientManagerCore

Namespace: Workspace.XBR.Xperiflow.Utilities.Http

Assembly: Xperiflow.dll

Declaration
public class HttpClientManagerCore : IHttpClientManager

Derived: Workspace.XBR.Xperiflow.Utilities.Http.HttpClientManager, Workspace.XBR.Xperiflow.Utilities.Http.HttpClientManagerSingleton

Implements: Workspace.XBR.Xperiflow.Utilities.Http.IHttpClientManager

Fields

httpClients

Declaration
protected ConcurrentDictionary<StringAndInt, HttpClient> httpClients

handlers

Declaration
protected IEnumerable<DelegatingHandler> handlers

Methods

GetHttpClient(string, bool)

Retrieve an already existing or create an HttpClient instance for the given baseUrl.

Declaration
public HttpClient GetHttpClient(string baseUrl, bool useShortTimout)
Returns

System.Net.Http.HttpClient

Parameters
TypeName
System.StringbaseUrl
System.BooleanuseShortTimout
Exceptions

OneStream.Shared.Common.XFException

Implements

Inherited Members

  • System.Object.Equals(System.Object)
  • System.Object.Equals(System.Object,System.Object)
  • System.Object.GetHashCode
  • System.Object.GetType
  • System.Object.MemberwiseClone
  • System.Object.ReferenceEquals(System.Object,System.Object)
  • System.Object.ToString

Was this page helpful?