Redis + RateLimiting

This commit is contained in:
2024-04-23 20:14:32 +02:00
parent c715dadb11
commit 6c39c292b0
15 changed files with 330 additions and 48 deletions

View File

@@ -10,12 +10,12 @@ class ConnectionData {
private string $password;
private array $properties;
public function __construct($host, $port, $login, $password) {
public function __construct(string $host, int $port, string $login, string $password) {
$this->host = $host;
$this->port = $port;
$this->login = $login;
$this->password = $password;
$this->properties = array();
$this->properties = [];
}
public function getProperties(): array {