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
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. |