Search Results for

    Show / Hide Table of Contents

    Interface IPooledConnection

    Represents a pooled connection to the Worldline Acquiring 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<T>(Uri, IEnumerable<IRequestHeader>, Func<HttpStatusCode, Stream, IEnumerable<IResponseHeader>, T>)
    IConnection.Delete<T>(Uri, IEnumerable<IRequestHeader>, Func<HttpStatusCode, Stream, IEnumerable<IResponseHeader>, T>)
    IConnection.Post<T>(Uri, IEnumerable<IRequestHeader>, string, Func<HttpStatusCode, Stream, IEnumerable<IResponseHeader>, T>)
    IConnection.Post<T>(Uri, IEnumerable<IRequestHeader>, MultipartFormDataObject, Func<HttpStatusCode, Stream, IEnumerable<IResponseHeader>, T>)
    IConnection.Put<T>(Uri, IEnumerable<IRequestHeader>, string, Func<HttpStatusCode, Stream, IEnumerable<IResponseHeader>, T>)
    IConnection.Put<T>(Uri, IEnumerable<IRequestHeader>, MultipartFormDataObject, Func<HttpStatusCode, Stream, IEnumerable<IResponseHeader>, T>)
    IDisposable.Dispose()
    ILoggingCapable.EnableLogging(ICommunicatorLogger)
    ILoggingCapable.DisableLogging()
    IObfuscationCapable.BodyObfuscator
    IObfuscationCapable.HeaderObfuscator
    Namespace: Worldline.Acquiring.Sdk.Communication
    Assembly: Worldline.Acquiring.Sdk.dll
    Syntax
    public interface IPooledConnection : IConnection, IDisposable, ILoggingCapable, IObfuscationCapable

    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) 2024 Worldline Financial Services (Europe) SA