public function information(): StatusInformation
    {
        $response = $this->client->get(
            new Request(
                $this->statusUrl,
                [
                    'Accept' => 'text/plain'
                ]
            )
        );

        if ($response->statusCode() !== Response::OK) {
            throw new NchanException(
                sprintf(
                    'Unable to retrieve status information. HTTP status code was %s.',
                    $response->statusCode()
                )
            );
        }

        return StatusInformation::fromPlainText($response->body());
    }