Файловый менеджер - Редактировать - /home/easybachat/resumewing.com/vendor/php-http/client-common/src/HttpClientEmulator.php
Ðазад
<?php declare(strict_types=1); namespace Http\Client\Common; use Psr\Http\Message\RequestInterface; use Psr\Http\Message\ResponseInterface; /** * Emulates an HTTP Client in an HTTP Async Client. * * @author Márk Sági-Kazár <mark.sagikazar@gmail.com> */ trait HttpClientEmulator { /** * @see HttpClient::sendRequest */ public function sendRequest(RequestInterface $request): ResponseInterface { $promise = $this->sendAsyncRequest($request); return $promise->wait(); } /** * @see HttpAsyncClient::sendAsyncRequest */ abstract public function sendAsyncRequest(RequestInterface $request); }
| ver. 1.4 |
Github
|
.
| PHP 8.2.29 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0.1 |
proxy
|
phpinfo
|
ÐаÑтройка