Property | Type | Description | |
---|---|---|---|
$innerClient | eZ\Publish\Core\REST\Client\HttpClient | Inner HTTP client, performing the actual requests. | |
$password | string | Password for Basic Auth. | |
$username | string | User name for Basic Auth. |
Method | Description | |
---|---|---|
__construct ( eZ\Publish\Core\REST\Client\HttpClient $innerClient, string $username, string $password ) | Creates a new Basic Auth HTTP client. | |
request ( string $method, string $path, |
Execute a HTTP request to the remote server. |
public __construct ( eZ\Publish\Core\REST\Client\HttpClient $innerClient, string $username, string $password ) | ||
$innerClient | eZ\Publish\Core\REST\Client\HttpClient | |
$username | string | |
$password | string |
protected HttpClient,eZ\Publish\Core\REST\Client $innerClient | ||
return | eZ\Publish\Core\REST\Client\HttpClient |