YoastSEO_Vendor\GuzzleHttp
ClientInterface::request() public Yoast 1.0
Create and send an HTTP request.
Use an absolute path to override the base path of the client, or a relative path to append to the base path of the client. The URL can contain the query string as well.
{} Это метод класса: ClientInterface{}
Хуков нет.
Возвращает
ResponseInterface.
Использование
$ClientInterface = new ClientInterface(); $ClientInterface->request( $method, $uri, $options );
- $method(строка) (обязательный)
- HTTP method.
- $uri(строка/Uriчислоerface) (обязательный)
- URI object or string.
- $options(массив)
- Request options to apply.
По умолчанию: []
Код ClientInterface::request() ClientInterface::request Yoast 15.6.2
public function request($method, $uri, array $options = []);