public function getStatus()
    {
        $request = $this->apiRequestFactory->createRequest('GET', $this->getBaseUri() . '/status/CLEAN');
        $response = $this->httpClient->sendRequest($request);

        return $response->getStatusCode() === 200;
    }
public function getStatus()
    {
        $request = $this->apiRequestFactory->createRequest('GET', $this->getBaseUri() . '/status/CLEAN');
        $response = $this->httpClient->sendRequest($request);

        return $response->getStatusCode() === 200;
    }
public function getStatus ( ) { $ request = $ this -> apiRequestFactory -> createRequest ( 'GET' , $ this -> getBaseUri ( ) . '/status/CLEAN' ) ; $ response = $ this -> httpClient -> sendRequest ( $ request ) ; return $ response -> getStatusCode ( ) === 200 ; }
Gets clean service status.
If service is OK returns true, otherwise - false.

@return bool|Error
Gets clean service status . If service is OK returns true otherwise - false .