HitProxy.Connection.CachedServer.GetUnlimitedNewConnection C# (CSharp) Method

GetUnlimitedNewConnection() public method

public GetUnlimitedNewConnection ( ) : CachedConnection
return CachedConnection
        public CachedConnection GetUnlimitedNewConnection()
        {
            CachedConnection c = new CachedConnection (this);
            lock (connections) {
                connections.Add (c);
            }
            c.Connect ();
            return c;
        }