mini\Http\Client\HttpClient::request() Method

public

Signature

public function request(string $method, string $url, Psr\Http\Message\StreamInterface|string|null $body = NULL, array $headers = array (
)): Psr\Http\Message\ResponseInterface

Parameters

Name Type Default Description
$method string required Documentation missing
$url string required Documentation missing
$body Psr\Http\Message\StreamInterface|string|null NULL Documentation missing
$headers array array ( ) Documentation missing

Returns

Psr\Http\Message\ResponseInterface

Documentation

Send a request with custom method

Source

src/Http/Client/HttpClient.php:349-369