Открытые члены | |
delete ($url, $postData=null, $multipart=false) | |
Открытые члены унаследованные от HttpClient | |
__construct (array $options=null) | |
get ($url) | |
head ($url) | |
post ($url, $postData=null, $multipart=false) | |
query ($method, $url, $entityBody=null) | |
setHeader ($name, $value, $replace=true) | |
setHeaders (array $headers) | |
getRequestHeaders () | |
clearHeaders () | |
setCookies (array $cookies) | |
setAuthorization ($user, $pass) | |
setRedirect ($value, $max=null) | |
waitResponse ($value) | |
setTimeout ($value) | |
setStreamTimeout ($value) | |
setVersion ($value) | |
setCompress ($value) | |
setCharset ($value) | |
disableSslVerification () | |
setPrivateIp ($value) | |
setProxy ($proxyHost, $proxyPort=null, $proxyUser=null, $proxyPassword=null) | |
setOutputStream ($handler) | |
setBodyLengthMax ($bodyLengthMax) | |
download ($url, $filePath) | |
saveFile ($filePath) | |
getEffectiveUrl () | |
setContextOptions (array $options) | |
getHeaders () | |
getCookies () | |
getStatus () | |
getResult () | |
getResponse () | |
getError () | |
getContentType () | |
getCharset () | |
getPeerAddress () | |
sendRequest (RequestInterface $request) | |
sendAsyncRequest (RequestInterface $request) | |
wait () | |
shouldFetchBody (callable $callback) | |
Открытые члены унаследованные от DebugInterface | |
setDebugLevel (int $debugLevel) | |
getDebugLevel () | |
Открытые атрибуты | |
const | HTTP_DELETE = "DELETE" |
Открытые атрибуты унаследованные от HttpClient | |
const | HTTP_1_0 = '1.0' |
const | HTTP_1_1 = '1.1' |
const | HTTP_GET = 'GET' |
const | HTTP_POST = 'POST' |
const | HTTP_PUT = 'PUT' |
const | HTTP_HEAD = 'HEAD' |
const | HTTP_PATCH = 'PATCH' |
const | HTTP_DELETE = 'DELETE' |
const | HTTP_OPTIONS = 'OPTIONS' |
const | DEFAULT_SOCKET_TIMEOUT = 30 |
const | DEFAULT_STREAM_TIMEOUT = 60 |
const | DEFAULT_STREAM_TIMEOUT_NO_WAIT = 1 |
Дополнительные унаследованные члены | |
Защищенные члены унаследованные от HttpClient | |
prepareMultipart ($postData) | |
addError ($code, $message, $triggerWarning=false) | |
buildRequest (RequestInterface $request) | |
checkRequest (RequestInterface $request) | |
createHandler (RequestInterface $request, bool $async=false) | |
createPromise ($handler, Http\Queue $queue) | |
createQueue (bool $backgroundJob=true) | |
Защищенные данные унаследованные от HttpClient | |
$proxyHost = '' | |
$proxyPort = 80 | |
$proxyUser = '' | |
$proxyPassword = '' | |
$socketTimeout = self::DEFAULT_SOCKET_TIMEOUT | |
$streamTimeout = self::DEFAULT_STREAM_TIMEOUT | |
$waitResponse = true | |
$redirect = true | |
$redirectMax = 5 | |
$redirectCount = 0 | |
$compress = false | |
$version = self::HTTP_1_1 | |
$requestCharset = '' | |
$sslVerify = true | |
$bodyLengthMax = 0 | |
$privateIp = true | |
$contextOptions = [] | |
$outputStream = null | |
$useCurl = false | |
$curlLogFile = null | |
$shouldFetchBody = null | |
HttpHeaders | $headers |
Http Request | $request = null |
Http Response | $response = null |
Http Queue | $queue = null |
IpAddress | $effectiveIp = null |
$effectiveUrl | |
$error = [] | |
См. определение в файле adshttpclient.php строка 5
delete | ( | $url, | |
$postData = null, | |||
$multipart = false ) |
См. определение в файле adshttpclient.php строка 9
const HTTP_DELETE = "DELETE" |
См. определение в файле adshttpclient.php строка 7