Class BitmovinApiClientFactory
Inheritance
System.Object
BitmovinApiClientFactory
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Bitmovin.Api.Sdk.dll
Syntax
public class BitmovinApiClientFactory : IBitmovinApiClientFactory
Constructors
BitmovinApiClientFactory(String, String, String, IBitmovinApiLogger)
Declaration
protected BitmovinApiClientFactory(string apiKey, string tenantOrgId, string baseUrl, IBitmovinApiLogger logger)
Parameters
Type |
Name |
Description |
System.String |
apiKey |
|
System.String |
tenantOrgId |
|
System.String |
baseUrl |
|
IBitmovinApiLogger |
logger |
|
Fields
ApiKey
Declaration
protected readonly string ApiKey
Field Value
Type |
Description |
System.String |
|
JsonSettings
Declaration
protected readonly JsonSerializerSettings JsonSettings
Field Value
Type |
Description |
JsonSerializerSettings |
|
Logger
Declaration
protected readonly IBitmovinApiLogger Logger
Field Value
RestClient
Declaration
protected readonly RestClient RestClient
Field Value
Type |
Description |
RestClient |
|
TenantOrgId
Declaration
protected readonly string TenantOrgId
Field Value
Type |
Description |
System.String |
|
Methods
CreateClient<T>()
Declaration
public virtual T CreateClient<T>()
Returns
Type Parameters
CreateHttpClient(String)
Declaration
protected virtual HttpClient CreateHttpClient(string baseUrl)
Parameters
Type |
Name |
Description |
System.String |
baseUrl |
|
Returns
Type |
Description |
HttpClient |
|
CreateHttpMessageHandlers()
Declaration
protected virtual IEnumerable<DelegatingHandler> CreateHttpMessageHandlers()
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<DelegatingHandler> |
|
CreateQueryParamSerializer()
Declaration
protected virtual RequestQueryParamSerializer CreateQueryParamSerializer()
Returns
Type |
Description |
RequestQueryParamSerializer |
|
CreateRequestBodySerializer()
Declaration
protected virtual JsonRequestBodySerializer CreateRequestBodySerializer()
Returns
Type |
Description |
JsonRequestBodySerializer |
|
CreateResponseDeserializer()
Declaration
protected virtual ResponseDeserializer CreateResponseDeserializer()
Returns
Type |
Description |
ResponseDeserializer |
|
Declaration
protected virtual Dictionary<string, string> GetHeaders()
Returns
Type |
Description |
System.Collections.Generic.Dictionary<System.String, System.String> |
|
Implements