Changeset View
Changeset View
Standalone View
Standalone View
src/app/Console/Commands/OpenVidu/Sessions.php
Show All 15 Lines | class Sessions extends Command | ||||
/** | /** | ||||
* The console command description. | * The console command description. | ||||
* | * | ||||
* @var string | * @var string | ||||
*/ | */ | ||||
protected $description = 'List OpenVidu sessions'; | protected $description = 'List OpenVidu sessions'; | ||||
/** | /** | ||||
* Create a new command instance. | |||||
* | |||||
* @return void | |||||
*/ | |||||
public function __construct() | |||||
{ | |||||
parent::__construct(); | |||||
} | |||||
/** | |||||
* Execute the console command. | * Execute the console command. | ||||
* | * | ||||
* @return mixed | * @return mixed | ||||
*/ | */ | ||||
public function handle() | public function handle() | ||||
{ | { | ||||
// curl -X GET -k -u OPENVIDUAPP:MY_SECRET https://localhost:4443/api/sessions, json | // curl -X GET -k -u OPENVIDUAPP:MY_SECRET https://localhost:4443/api/sessions, json | ||||
▲ Show 20 Lines • Show All 41 Lines • Show Last 20 Lines |