protected createRequest ( string $server, string $path, string $method, array $headers = [], string | resource | null $body = null ) : GuzzleHttp\Psr7\Request | ||
$server | string | Server |
$path | string | Path |
$method | string | Request method |
$headers | array | Array of headers |
$body | string | resource | null | Request body |
return | GuzzleHttp\Psr7\Request |