Magento Extensions Rating 2024
EXTENSIONS BY CATEGORY
B2B (Business-To-Business)
Blog
Customer
ERP (Enterprise Resource Planning)
Mega Menu
One Step Checkout
Order
POS (Point Of Sale)
Search
Shopping Cart
Sitemap
SEO
Social
Stock & Inventory Management
EXTENSIONS BY DEVELOPER
aheadWorks
Amasty
Boost My Shop
BSS Commerce
Magestore
MageWorx
Mirasvit
Templates Master
Wyomind
XTENTO
Magento 2 Documentation
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
vendor
magento
framework
HTTP
ClientInterface.php
Go to the documentation of this file.
1
<?php
7
namespace
Magento\Framework\HTTP
;
8
15
interface
ClientInterface
16
{
23
public
function
setTimeout
(
$value
);
24
31
public
function
setHeaders
($headers);
32
40
public
function
addHeader
(
$name
,
$value
);
41
48
public
function
removeHeader
(
$name
);
49
57
public
function
setCredentials
($login, $pass);
58
66
public
function
addCookie
(
$name
,
$value
);
67
74
public
function
removeCookie
(
$name
);
75
82
public
function
setCookies
($cookies);
83
89
public
function
removeCookies
();
90
97
public
function
get
($uri);
98
106
public
function
post
($uri,
$params
);
107
113
public
function
getHeaders
();
114
120
public
function
getBody
();
121
127
public
function
getStatus
();
128
134
public
function
getCookies
();
135
143
public
function
setOption
($key,
$value
);
144
151
public
function
setOptions
($arr);
152
}
Magento\Framework\HTTP\ClientInterface\setTimeout
setTimeout($value)
Magento\Framework\HTTP\ClientInterface\setCookies
setCookies($cookies)
Magento\Framework\HTTP\ClientInterface\addCookie
addCookie($name, $value)
Magento\Framework\HTTP\ClientInterface\setOptions
setOptions($arr)
Magento\Framework\HTTP\ClientInterface
Definition:
ClientInterface.php:15
Magento\Framework\HTTP\ClientInterface\setHeaders
setHeaders($headers)
$value
$value
Definition:
gender.phtml:16
Magento\Framework\HTTP\ClientInterface\removeHeader
removeHeader($name)
Magento\Framework\HTTP\ClientInterface\getBody
getBody()
Magento\Framework\HTTP\ClientInterface\getCookies
getCookies()
Magento\Framework\HTTP\ClientInterface\addHeader
addHeader($name, $value)
Magento\Framework\HTTP\ClientInterface\removeCookie
removeCookie($name)
Magento\Framework\HTTP\ClientInterface\getHeaders
getHeaders()
Magento\Framework\HTTP\ClientInterface\setCredentials
setCredentials($login, $pass)
Magento\Framework\HTTP
Magento\Framework\HTTP\ClientInterface\setOption
setOption($key, $value)
Magento\Framework\HTTP\ClientInterface\removeCookies
removeCookies()
Magento\Framework\HTTP\ClientInterface\post
post($uri, $params)
$params
$params[\Magento\Store\Model\StoreManager::PARAM_RUN_CODE]
Definition:
website.php:18
Magento\Framework\HTTP\ClientInterface\getStatus
getStatus()
$name
if(!isset($_GET['name'])) $name
Definition:
log.php:14