This commit is contained in:
Marcel Pociot
2020-05-03 00:21:16 +02:00
parent c717683634
commit 72d33b1b70
19 changed files with 408 additions and 103 deletions

View File

@@ -33,6 +33,14 @@ class ControlConnection
$this->shared_at = now()->toDateTimeString();
}
public function setMaximumConnectionLength(int $maximumConnectionLength)
{
$this->socket->send(json_encode([
'event' => 'setMaximumConnectionLength',
'length' => $maximumConnectionLength,
]));
}
public function registerProxy($requestId)
{
$this->socket->send(json_encode([