Your IP : 216.73.216.208


Current Path : /home/maglabs/it/lib/internal/Magento/Framework/HTTP/AsyncClient/
Upload File :
Current File : /home/maglabs/it/lib/internal/Magento/Framework/HTTP/AsyncClient/HttpResponseDeferredInterface.php

<?php
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */

declare(strict_types=1);

namespace Magento\Framework\HTTP\AsyncClient;

use Magento\Framework\Async\CancelableDeferredInterface;

/**
 * Deferred HTTP response.
 *
 * @api
 */
interface HttpResponseDeferredInterface extends CancelableDeferredInterface
{
    /**
     * @inheritdoc
     * @return Response HTTP response.
     * @throws HttpException When failed to send the request,
     * if response has 400+ status code it will not be treated as an exception.
     */
    public function get(): Response;
}

?>