Interface IPooledConnection
Represents a pooled connection to the Worldline Global Collect 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: Worldline.Connect.Sdk.Communication
Assembly: Worldline.Connect.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. |