Show / Hide Table of Contents

Class S3HttpClientFactory

An Http client Factory example to use or surcharge if a custom S3 connection handler or a custom http client is needed.

Inheritance
object
HttpClientFactory
S3HttpClientFactory
CustomCAS3HttpClientFactory
UnsafeS3HttpClientFactory
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: QarnotSDK
Assembly: QarnotSDK.dll
Syntax
public class S3HttpClientFactory : HttpClientFactory

Constructors

S3HttpClientFactory()

S3HttpClientFactory Constructor.

Declaration
[Obsolete("This function is not implemented in the .NET framework 4.5")]
public S3HttpClientFactory()

Methods

CreateClientHandler()

The HttpClientHandler Factory function. This function can be override to define a new client handler.

Declaration
protected virtual HttpClientHandler CreateClientHandler()
Returns
Type Description
HttpClientHandler

The Http client handler used to create the HttpClient.

CreateHttpClient(IClientConfig)

The CreateHttpClient function used by S3 to retrieve a new HttpClient every request.

Declaration
public override HttpClient CreateHttpClient(IClientConfig clientConfig)
Parameters
Type Name Description
IClientConfig clientConfig

The client configuration to parse.

Returns
Type Description
HttpClient

The HttpClient used by S3.

Overrides
HttpClientFactory.CreateHttpClient(IClientConfig)
In this article
Back to top Generated by DocFX