Свойство | Тип | Описание | |
---|---|---|---|
$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. |
Метод | Описание | |
---|---|---|
__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 | ||
Результат | eZ\Publish\Core\REST\Client\HttpClient |