protected function isThrottled($conn, $setting)
    {
        $connectionThrottle = explode(':', config(sprintf('ratchet.throttle.%s', $setting)));

        return !Throttle::attempt(
            [
                'ip'    => $conn->remoteAddress,
                'route' => $setting,
            ],
            (int) $connectionThrottle[0],
            (int) $connectionThrottle[1]
        );
    }