Table of Contents
Properties
-
$bodyHandler
: BodyHandler
-
$certificate
: string
-
$connectTimeout
: int
-
$errorResponseHandler
: ResponseHandler
-
$headers
: array<string|int, mixed>
-
$key
: string
-
$method
: string
-
$parameters
: array<string|int, mixed>
-
$proxy
: array<string|int, mixed>
-
$readTimeout
: int
-
$successResponseHandler
: ResponseHandler
-
$url
: string
Methods
-
__construct()
: mixed
-
authorization()
: mixed
-
basicAuthorization()
: mixed
-
bodyHandler()
: mixed
-
certificate()
: mixed
-
connectTimeout()
: mixed
-
delete()
: mixed
-
errorResponseHandler()
: mixed
-
get()
: mixed
-
go()
: mixed
-
header()
: mixed
-
headers()
: mixed
-
patch()
: mixed
-
post()
: mixed
-
put()
: mixed
-
readTimeout()
: mixed
-
successResponseHandler()
: mixed
-
uri()
: mixed
-
url()
: mixed
-
urlParameter()
: mixed
-
urlSegment()
: mixed
-
resetAuthorizationHeaders()
: mixed
$bodyHandler
public
BodyHandler
$bodyHandler
$certificate
public
string
$certificate
$connectTimeout
public
int
$connectTimeout
= 2000
$errorResponseHandler
public
ResponseHandler
$errorResponseHandler
public
array<string|int, mixed>
$headers
= array('User-Agent: curl/8.2.1')
$key
public
string
$key
$method
public
string
$method
$parameters
public
array<string|int, mixed>
$parameters
= array()
$proxy
public
array<string|int, mixed>
$proxy
$readTimeout
public
int
$readTimeout
= 2000
$successResponseHandler
public
ResponseHandler
$successResponseHandler
$url
public
string
$url
__construct()
public
__construct() : mixed
authorization()
public
authorization(mixed $key) : mixed
Parameters
-
$key
: mixed
-
basicAuthorization()
public
basicAuthorization(mixed $username, mixed $password) : mixed
Parameters
-
$username
: mixed
-
-
$password
: mixed
-
bodyHandler()
public
bodyHandler(mixed $bodyHandler) : mixed
Parameters
-
$bodyHandler
: mixed
-
certificate()
public
certificate(mixed $certificate) : mixed
Parameters
-
$certificate
: mixed
-
connectTimeout()
public
connectTimeout(mixed $connectTimeout) : mixed
Parameters
-
$connectTimeout
: mixed
-
delete()
public
delete() : mixed
errorResponseHandler()
public
errorResponseHandler(mixed $errorResponseHandler) : mixed
Parameters
-
$errorResponseHandler
: mixed
-
get()
public
get() : mixed
go()
public
go() : mixed
public
header(mixed $name, mixed $value) : mixed
Parameters
-
$name
: mixed
-
-
$value
: mixed
-
public
headers(mixed $headers) : mixed
Parameters
-
$headers
: mixed
-
patch()
public
patch() : mixed
post()
public
post() : mixed
put()
public
put() : mixed
readTimeout()
public
readTimeout(mixed $readTimeout) : mixed
Parameters
-
$readTimeout
: mixed
-
successResponseHandler()
public
successResponseHandler(mixed $successResponseHandler) : mixed
Parameters
-
$successResponseHandler
: mixed
-
uri()
public
uri(mixed $uri) : mixed
Parameters
-
$uri
: mixed
-
url()
public
url(mixed $url) : mixed
Parameters
-
$url
: mixed
-
urlParameter()
public
urlParameter(mixed $name, mixed $value) : mixed
Parameters
-
$name
: mixed
-
-
$value
: mixed
-
urlSegment()
public
urlSegment(mixed $value) : mixed
Parameters
-
$value
: mixed
-
protected
resetAuthorizationHeaders() : mixed