Your IP : 216.73.216.81


Current Path : /srv/web/sites/trentinoplant.it/httpdocs/vendor/magento/framework/HTTP/
Upload File :
Current File : /srv/web/sites/trentinoplant.it/httpdocs/vendor/magento/framework/HTTP/ZendClient.php

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

/**
 * Magento HTTP Client
 *
 * @author      Magento Core Team <core@magentocommerce.com>
 */
namespace Magento\Framework\HTTP;

/**
 * @deprecated The class is deprecated due to migration from Zend_Http to laminas-http.
 * @see Use \Magento\Framework\HTTP\LaminasClient insted.
 */
class ZendClient
{
    /**
     * @param null|string $uri
     * @param null|array $config
     * @SuppressWarnings(PHPMD.UnusedFormalParameter)
     */
    public function __construct($uri = null, $config = null)
    {
        trigger_error('Class is deprecated', E_USER_DEPRECATED);
    }

    /**
     * Perform an HTTP request
     *
     * @param null|string $method
     * @return void
     * @SuppressWarnings(PHPMD.UnusedFormalParameter)
     */
    public function request($method = null)
    {
        trigger_error('Class is deprecated', E_USER_DEPRECATED);
    }

    /**
     * Change value of internal flag to disable/enable custom prepare functionality
     *
     * @param bool $flag
     * @return void
     * @SuppressWarnings(PHPMD.UnusedFormalParameter)
     */
    public function setUrlEncodeBody($flag)
    {
        trigger_error('Class is deprecated', E_USER_DEPRECATED);
    }
}