HttpClient class
package | Default |
---|
delete(string $url, \Kore\array<mixed> $params= array()
, \Kore\array<mixed> $headers= array()
, string|null $userpwd= null
) : \Kore\HttpResponse
see | \Kore\HttpResponse |
---|
string
request url
\Kore\array<mixed>
request parameters
\Kore\array<mixed>
request headers
string
null
user name and password
\Exception |
---|
\Kore\HttpResponse
\Kore\HttpResponseget(string $url, \Kore\array<mixed> $params= array()
, \Kore\array<mixed> $headers= array()
, string|null $userpwd= null
) : \Kore\HttpResponse
see | \Kore\HttpResponse |
---|
string
request url
\Kore\array<mixed>
request parameters
\Kore\array<mixed>
request headers
string
null
user name and password
\Exception |
---|
\Kore\HttpResponse
\Kore\HttpResponsepatch(string $url, \Kore\array<mixed> $params= array()
, \Kore\array<mixed> $headers= array()
, string|null $userpwd= null
) : \Kore\HttpResponse
see | \Kore\HttpResponse |
---|
string
request url
\Kore\array<mixed>
request parameters
\Kore\array<mixed>
request headers
string
null
user name and password
\Exception |
---|
\Kore\HttpResponse
\Kore\HttpResponsepost(string $url, \Kore\array<mixed> $params= array()
, \Kore\array<mixed> $headers= array()
, string|null $userpwd= null
) : \Kore\HttpResponse
see | \Kore\HttpResponse |
---|
string
request url
\Kore\array<mixed>
request parameters
\Kore\array<mixed>
request headers
string
null
user name and password
\Exception |
---|
\Kore\HttpResponse
\Kore\HttpResponseput(string $url, \Kore\array<mixed> $params= array()
, \Kore\array<mixed> $headers= array()
, string|null $userpwd= null
) : \Kore\HttpResponse
see | \Kore\HttpResponse |
---|
string
request url
\Kore\array<mixed>
request parameters
\Kore\array<mixed>
request headers
string
null
user name and password
\Exception |
---|
\Kore\HttpResponse
\Kore\HttpResponsesetConnectTimeout(integer $connectTimeout) : void
integer
connect timeout
setTimeout(integer $timeout) : void
integer
timeout
buildHeader(\Kore\array<mixed> $headers) : \Kore\array<string>
Build the associative array headers into a curl-friendly format.
\Kore\array<mixed>
headers
\Kore\array<string>
built headerscommunicate(string $method, string $url, \Kore\array<mixed> $params= array()
, \Kore\array<mixed> $headers= array()
, string|null $userpwd= null
) : \Kore\HttpResponse
see | \Kore\HttpResponse |
---|
string
http method
string
request url
\Kore\array<mixed>
request parameters
\Kore\array<mixed>
request headers
string
null
user name and password
\Exception |
---|
\Kore\HttpResponse
\Kore\HttpResponse$connectTimeout : integer
300
Used as the value of CURLOPT_CONNECTTIMEOUT. If unspecified, the default is 300. For unlimited, specify 0.
$timeout : integer
300
Used as the value of CURLOPT_TIMEOUT. If unspecified, the default is 300. For unlimited, specify 0.