Class HttpClientServiceFactory
A factory that creates Http
Inheritance
System.Object
HttpClientServiceFactory
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()
Namespace: Geko.HttpClientService
Assembly: Geko.HttpClientService.dll
Syntax
public sealed class HttpClientServiceFactory : IHttpClientServiceFactory
Constructors
| Improve this Doc View SourceHttpClientServiceFactory(ICoreHttpClient, IHttpRequestMessageFactory, IIdentityServerService)
Constructor of the Http
Declaration
public HttpClientServiceFactory(ICoreHttpClient coreHttpClient, IHttpRequestMessageFactory requestMessageFactory, IIdentityServerService tokenResponseService)
Parameters
Type | Name | Description |
---|---|---|
ICore |
coreHttpClient | An ICore |
IHttp |
requestMessageFactory | The IHttp |
IIdentity |
tokenResponseService | The IIdentity |
Properties
| Improve this Doc View SourceInstance
Lazy Singleton instantiation for use outside of a DI container.
Declaration
public static HttpClientServiceFactory Instance { get; }
Property Value
Type | Description |
---|---|
Http |
Methods
| Improve this Doc View SourceCreateHttpClientService()
Creates new Http
Declaration
public HttpClientService CreateHttpClientService()
Returns
Type | Description |
---|---|
Http |
An Http |