get_channel_info() public method

Fetch channel information for a specific channel.
public get_channel_info ( string $channel, array $params = [] ) : object
$channel string The name of the channel
$params array Additional parameters for the query e.g. $params = array( 'info' => 'connection_count' )
return object
Beispiel #1
0
 /**
  *	Fetch channel information for a specific channel.
  *
  * @param string $channel The name of the channel
  * @param array $params Additional parameters for the query e.g. $params = array( 'info' => 'connection_count' )
  *	@return object
  */
 public function get_channel_info($channel, $params = array())
 {
     return $this->_pusher->get_channel_info($channel, $params);
 }