deepstreamIO / deepstream.io-client-php

PHP Client using the deepstream HTTP API
Apache License 2.0
9 stars 3 forks source link

presence api #6

Open elronalds opened 6 years ago

elronalds commented 6 years ago

What is the status on the following code within the PHP api?

//    TODO
//    public function getPresence() {
//        $apiRequest = new ApiRequest( $this->url );
//        $apiRequest->add(array(
//                'topic' => 'presence',
//                'action' => 'query'
//        ));
//        return ($apiRequest->execute() );
//    }

Is this function waiting on some backend changes before it can implemented or were there other pending issues?

yasserf commented 6 years ago

That's a good question, there isn't anything blocking presence currently, and should be part of the normal HTTP spec.

https://deepstreamhub.com/docs/http/v1/#querying-online-users-presence-