RateLimitingMiddleware

class OC\AppFramework\Middleware\Security\RateLimitingMiddleware
Class RateLimitingMiddleware is the middleware responsible for implementing the
ratelimiting in Nextcloud.
It parses annotations such as:
Source:lib/private/AppFramework/Middleware/Security/RateLimitingMiddleware.php#52
Parent:OCP\AppFramework\Middleware

Properties

Methods

public OC\AppFramework\Middleware\Security\RateLimitingMiddleware::__construct($request, $userSession, $reflector, $limiter)
Source:

lib/private/AppFramework/Middleware/Security/RateLimitingMiddleware.php#68

Parameters:
public OC\AppFramework\Middleware\Security\RateLimitingMiddleware::beforeController($controller, $methodName)
Source:lib/private/AppFramework/Middleware/Security/RateLimitingMiddleware.php#82
Throws:\OC\Security\RateLimiting\Exception\RateLimitExceededException
public OC\AppFramework\Middleware\Security\RateLimitingMiddleware::afterException($controller, $methodName, $exception)
Source:lib/private/AppFramework/Middleware/Security/RateLimitingMiddleware.php#110