Interface RateLimit.Outcome

All Superinterfaces:
org.teavm.jso.JSObject
Enclosing interface:
RateLimit

public static interface RateLimit.Outcome extends org.teavm.jso.JSObject
Whether a key was within its allowance.
Since:
1.0.0
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Returns whether the request is allowed.

    Methods inherited from interface org.teavm.jso.JSObject

    cast
  • Method Details

    • isSuccess

      boolean isSuccess()
      Returns whether the request is allowed.
      Returns:
      whether the request is allowed