HttpClientInterface
Table of Contents
Methods
-
request()
: array{status: int, responseHeader: string, responseBody: string, responseTime: float}
request()
public
request(string $url, string $method, array<int, string> $headers, string $body) : array{status: int, responseHeader: string, responseBody: string, responseTime: float}
Parameters
-
$url
: string
-
-
$method
: string
-
-
$headers
: array<int, string>
-
-
$body
: string
-
Return values
array{status: int, responseHeader: string, responseBody: string, responseTime: float}