public function killSession() {
      $response = $this->request('get', 'killSession');
      if ($response->getStatusCode() != 200) {
         $body = json_decode($response->getBody()->getContents());
         throw new Exception(ErrorHandler::getMessage($body[0]));
      }
      return true;
   }
public function killSession() {
      $response = $this->request('get', 'killSession');
      if ($response->getStatusCode() != 200) {
         $body = json_decode($response->getBody()->getContents());
         throw new Exception(ErrorHandler::getMessage($body[0]));
      }
      return true;
   }
public function killSession ( ) { $ response = $ this -> request ( 'get' , 'killSession' ) ; if ( $ response -> getStatusCode ( ) != 200 ) { $ body = json_decode ( $ response -> getBody ( ) -> getContents ( ) ) ; throw new Exception ( ErrorHandler :: getMessage ( $ body [ 0 ] ) ) ; } return true ; }
Kill client session.
@return bool
@throws Exception
Kill client session .