resetKey(key)
keyGenerator
, be
sure to replace req.ip
with the correct key.
getKey(key)
getKey
depends on store support. It works with the MemoryStore and
cluster-memory-store, but may not work with other stores. Calling it will throw
an error if the store does not have a get
method.