You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
434 B
26 lines
434 B
12 months ago
|
<?php
|
||
|
|
||
|
include 'DemoBase.php';
|
||
|
global $client;
|
||
|
|
||
|
$body = [
|
||
|
'Domain' => 'domain1',
|
||
|
'App' => 'app',
|
||
|
'Stream' => 'stream',
|
||
|
'EndTime' => '2022-02-12T08:12:48.000Z',
|
||
|
];
|
||
|
|
||
|
$response = $client->forbidStream(['json' => $body]);
|
||
|
echo $response;
|
||
|
echo '<br>';
|
||
|
|
||
|
$body = [
|
||
|
'Domain' => 'domain1',
|
||
|
'App' => 'app',
|
||
|
'Stream' => 'stream',
|
||
|
];
|
||
|
|
||
|
$response = $client->resumeStream(['json' => $body]);
|
||
|
echo $response;
|
||
|
echo '<br>';
|