Nextcloud PHP API (master)

ARateLimit
in package

AbstractYes

Attribute for controller methods that want to limit the times a logged-in user can call the endpoint in a given time period.

Tags
since
27.0.0

Table of Contents

Properties

$limit  : int
$period  : int

Methods

__construct()  : mixed
getLimit()  : int
getPeriod()  : int

Properties

Methods

__construct()

public __construct(int $limit, int $period) : mixed
Parameters
$limit : int
$period : int
Tags
since
27.0.0

getLimit()

public getLimit() : int
Tags
since
27.0.0
Return values
int

getPeriod()

public getPeriod() : int
Tags
since
27.0.0
Return values
int

        
On this page

Search results