Class HttpRestClientChannelFactory
Summary description for HttpRestClientChannelFactory.
Inheritance
System.Object
HttpRestClientChannelFactory
Assembly: ImageVault.Client.dll
Syntax
public class HttpRestClientChannelFactory : Object, IClientChannelFactory
Constructors
HttpRestClientChannelFactory(ImageVaultClientOptions, IAuthTokenUtil)
Declaration
public HttpRestClientChannelFactory(ImageVaultClientOptions options, IAuthTokenUtil authUtil = null)
Parameters
Exceptions
Type |
Condition |
System.ArgumentNullException |
|
HttpRestClientChannelFactory(IOptions<ImageVaultClientOptions>, IAuthTokenUtil)
Declaration
public HttpRestClientChannelFactory(IOptions<ImageVaultClientOptions> options, IAuthTokenUtil authUtil = null)
Parameters
Exceptions
Type |
Condition |
System.ArgumentNullException |
|
Properties
AuthUtil
Gets the AuthUtil of the RestClientChannelFactory
Declaration
public IAuthTokenUtil AuthUtil { get; }
Property Value
Cookies
Optional cookies to pass along to the channel
Declaration
public IDictionary<string, string> Cookies { get; set; }
Property Value
Type |
Description |
System.Collections.Generic.IDictionary<System.String, System.String> |
|
Timeout
Get/Sets the Timeout of the IClient
Declaration
public Nullable<int> Timeout { get; set; }
Property Value
Type |
Description |
System.Nullable<System.Int32> |
The number of milliseconds to wait before the request times out. The default value is 100,000 milliseconds (100 seconds).
|
Methods
CreateChannel<T>()
Declaration
public T CreateChannel<T>()
Returns
Type Parameters
Exceptions
Type |
Condition |
System.NotImplementedException |
|
CreateRestChannel()
Creates a dynamic channel
Declaration
public IRestClientProxyInvoker CreateRestChannel()
Returns
Implements
Extension Methods