ConnManager

Keep opened connections for HTTP it is cache over tuple(schema, host, port) -> connection

Evict least used

Constructors

this
this(ubyte limit)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Aliases

CMKey
alias CMKey = Tuple!(string, string, ushort)
Undocumented in source.

Functions

clear
void clear()
Undocumented in source.
del
NetworkStream del(string schema, string host, ushort port)
Undocumented in source. Be warned that the author may not have intended to support it.
get
NetworkStream get(string schema, string host, ushort port)
Undocumented in source. Be warned that the author may not have intended to support it.
put
NetworkStream put(string schema, string host, ushort port, NetworkStream stream)

put new stream in cache, evict old stream and return it If nothing evicted return null

Structs

CMValue
struct CMValue
Undocumented in source.

Meta