Askedio\LaravelRatchet\RatchetServer::throttle PHP 메소드

throttle() 개인적인 메소드

Throttle connections.
private throttle ( ) : [type]
리턴 [type]
    private function throttle()
    {
        if ($this->isThrottled($this->conn, 'onOpen')) {
            $this->console->info(sprintf('Connection throttled: %d', $this->conn->resourceId));
            $this->conn->send(trans('ratchet::messages.toManyConnectionAttempts'));
            $this->throttled = true;
            $this->conn->close();
        }
        return $this;
    }