ConnManager.put

put new stream in cache, evict old stream and return it. If nothing evicted return null. Returned(evicted) connection can be closed.

struct ConnManager
put
(
string schema
,
string host
,
ushort port
,)
out { assert (__cache.length > 0); }

Meta