Search Results for

    Show / Hide Table of Contents

    Interface IPooledConnection

    Represents a pooled connection to the Ingenico ePayments platform server. Instead of setting up a new HTTP connection for each request, this connection uses a pool of HTTP connections. Thread-safe.

    Inherited Members
    IConnection.Get<R>(Uri, IEnumerable<IRequestHeader>, Func<HttpStatusCode, Stream, IEnumerable<IResponseHeader>, R>)
    IConnection.Delete<R>(Uri, IEnumerable<IRequestHeader>, Func<HttpStatusCode, Stream, IEnumerable<IResponseHeader>, R>)
    IConnection.Post<R>(Uri, IEnumerable<IRequestHeader>, string, Func<HttpStatusCode, Stream, IEnumerable<IResponseHeader>, R>)
    IConnection.Post<R>(Uri, IEnumerable<IRequestHeader>, MultipartFormDataObject, Func<HttpStatusCode, Stream, IEnumerable<IResponseHeader>, R>)
    IConnection.Put<R>(Uri, IEnumerable<IRequestHeader>, string, Func<HttpStatusCode, Stream, IEnumerable<IResponseHeader>, R>)
    IConnection.Put<R>(Uri, IEnumerable<IRequestHeader>, MultipartFormDataObject, Func<HttpStatusCode, Stream, IEnumerable<IResponseHeader>, R>)
    IDisposable.Dispose()
    ILoggingCapable.EnableLogging(ICommunicatorLogger)
    ILoggingCapable.DisableLogging()
    Namespace: Ingenico.Connect.Sdk
    Assembly: connect-sdk-dotnet.dll
    Syntax
    public interface IPooledConnection : IConnection, IDisposable, ILoggingCapable

    Methods

    CloseExpiredConnections()

    Closes all expired HTTP connections.

    Declaration
    void CloseExpiredConnections()

    CloseIdleConnections(TimeSpan)

    Closes all HTTP connections that have been idle for the specified time. This should also include all expired HTTP connections. CloseExpiredConnections()

    Declaration
    void CloseIdleConnections(TimeSpan timespan)
    Parameters
    Type Name Description
    TimeSpan timespan

    Idle time.

    In This Article
    Back to top Copyright (c) 2016 Global Collect Services B.V.