Search Results for

    Show / Hide Table of Contents

    Class HttpRestClientChannelFactory

    Summary description for HttpRestClientChannelFactory.

    Inheritance
    System.Object
    HttpRestClientChannelFactory
    Implements
    IClientChannelFactory
    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()
    Namespace: ImageVault.Client.Rest
    Assembly: ImageVault.Client.dll
    Syntax
    public class HttpRestClientChannelFactory : IClientChannelFactory

    Constructors

    HttpRestClientChannelFactory(ClientConfigurationSection, IAuthTokenUtil)

    Initializes a new instance of the HttpRestClientChannelFactory class.

    Declaration
    public HttpRestClientChannelFactory(ClientConfigurationSection configuration = null, IAuthTokenUtil authUtil = null)
    Parameters
    Type Name Description
    ClientConfigurationSection configuration
    IAuthTokenUtil authUtil

    Properties

    AuthUtil

    Gets the AuthUtil of the RestClientChannelFactory

    Declaration
    public IAuthTokenUtil AuthUtil { get; }
    Property Value
    Type Description
    IAuthTokenUtil

    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>

    SendTimeout

    Gets or sets the interval of time provided for a write operation to complete before the transport raises an exception.

    Declaration
    [Obsolete("Use Timeout instead")]
    public TimeSpan? SendTimeout { get; set; }
    Property Value
    Type Description
    System.Nullable<System.TimeSpan>

    If null, the default value of the binding will be used

    Timeout

    Get/Sets the Timeout of the IClient

    Declaration
    public 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 Description
    T
    Type Parameters
    Name Description
    T
    Exceptions
    Type Condition
    System.NotImplementedException

    CreateRestChannel()

    Creates a dynamic channel

    Declaration
    public IRestClientProxyInvoker CreateRestChannel()
    Returns
    Type Description
    IRestClientProxyInvoker

    Implements

    IClientChannelFactory

    Extension Methods

    EnumExtensions.GetNames<TEnum>(TEnum)
    In This Article
    Back to top (c) Meriworks 2002-2022