src/VK/CallbackApi/LongPoll/VKCallbackApiLongPollExecutor.php
public function getEvents(string $host, string $key, int $ts) {
        $params = array(
            static::PARAM_KEY  => $key,
            static::PARAM_TS   => $ts,
            static::PARAM_WAIT => $this->wait,
            static::PARAM_ACT  => static::VALUE_ACT
        );

        try {
            $response = $this->http_client->get($host, $params);
        } catch (TransportRequestException $e) {
            throw new VKClientException($e);
        }

        return $this->parseResponse($params, $response);
    }
public function getEvents(string $host, string $key, int $ts) {
        $params = array(
            static::PARAM_KEY  => $key,
            static::PARAM_TS   => $ts,
            static::PARAM_WAIT => $this->wait,
            static::PARAM_ACT  => static::VALUE_ACT
        );

        try {
            $response = $this->http_client->get($host, $params);
        } catch (TransportRequestException $e) {
            throw new VKClientException($e);
        }

        return $this->parseResponse($params, $response);
    }
public function getEvents ( string $ host , string $ key , int $ ts ) { $ params = array ( static :: PARAM_KEY => $ key , static :: PARAM_TS => $ ts , static :: PARAM_WAIT => $ this -> wait , static :: PARAM_ACT => static :: VALUE_ACT ) ; try { $ response = $ this -> http_client -> get ( $ host , $ params ) ; } catch ( TransportRequestException $ e ) { throw new VKClientException ( $ e ) ; } return $ this -> parseResponse ( $ params , $ response ) ; }
Retrieves events from long poll server starting from the specified timestamp.

@param string $host
@param string $key
@param int $ts
@return mixed
@throws VKLongPollServerKeyExpiredException
@throws VKLongPollServerTsException
@throws VKClientException
Retrieves events from long poll server starting from the specified timestamp .