efps-version
ljl 2 years ago
parent bdb1bc20d2
commit 58211925b4

@ -10,7 +10,7 @@ use GuzzleHttp\HandlerStack;
class Notification class Notification
{ {
public static function post($url, $params): BaseClient { public static function post($url, $params) {
$client = new Client([ $client = new Client([
'handler' => HandlerStack::create(new CoroutineHandler()), 'handler' => HandlerStack::create(new CoroutineHandler()),
'timeout' => 5, 'timeout' => 5,

Loading…
Cancel
Save