updateCurrentWindow abstract method

FutureOr<void> updateCurrentWindow(
  1. RequestContext req,
  2. ResponseContext res,
  3. RateLimitingWindow<User> window,
  4. DateTime currentTime,
)

Updates the underlying store with information about the new window that the user is operating in.

Implementation

FutureOr<void> updateCurrentWindow(RequestContext req, ResponseContext res,
    RateLimitingWindow<User> window, DateTime currentTime);