![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/old/vendor/magento/module-analytics/Model/Connector/Http/ |
<?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ namespace Magento\Analytics\Model\Connector\Http; use Laminas\Http\Response; /** * An interface for an HTTP client. * * Send requests via a proper adapter. */ interface ClientInterface { /** * Sends a request using given parameters. * * Returns an HTTP response object or FALSE in case of failure. * * @param string $method * @param string $url * @param array $body * @param array $headers * @param string $version * * @return Response */ public function request($method, $url, array $body = [], array $headers = [], $version = '1.1'); }