testRateLimits method

Future<TTestRateLimitsResponse> testRateLimits({
  1. required TTestRateLimitsBody input,
})

Set a rate local rate limit just on the current endpoint, for purposes of testing with Vivosuite.

Sign the provided TTestRateLimitsBody with the client's stamp function and submit the request (POST /tkhq/api/v1/test_rate_limits).

See also: stampTestRateLimits.

Implementation

Future<TTestRateLimitsResponse> testRateLimits({
  required TTestRateLimitsBody input,
}) async {
  return await request<TTestRateLimitsBody, TTestRateLimitsResponse>(
      "/tkhq/api/v1/test_rate_limits",
      input,
      (json) => TTestRateLimitsResponse.fromJson(json));
}