RequestCache

Represent caching system

Constructors

this
this(SqlJsonTable table)

Construct caching system

Members

Functions

add
void add(RpcRequest req, RpcResponse res)

Add cache by request

get
bool get(RpcRequest req, RpcResponse res)

Search cache by request in memory.

reset
bool reset(RpcRequest req)

Drop cache by request

reset
bool reset(string method)

Drop all method cache

Meta

Authors

Zaramzan <shamyan.roman@gmail.com>