Class Http
Handles communications between end user app & Riak via Riak HTTP API using cURL
- Basho\Riak\Api
- Basho\Riak\Api\Http implements Basho\Riak\ApiInterface
Methods summary
public
integer
|
|
public
string
|
|
public
array
|
|
public
string
|
|
public
null
|
|
public
|
|
public
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
|
public
string
|
|
public
string
|
|
public
boolean
|
|
public
|
|
public
resource
|
|
public
|
|
public
integer
|
|
public
integer
|
|
protected
|
|
protected
|
Methods inherited from Basho\Riak\Api
__construct()
,
getCommand()
,
getConfig()
,
getError()
,
getNode()
,
getResponse()
,
getSuccess()
,
setCommand()
,
setNode()
Constants summary
string |
VCLOCK_KEY
|
#
'X-Riak-Vclock'
|
string |
CONTENT_TYPE_KEY
|
#
'Content-Type'
|
string |
METADATA_PREFIX
|
#
'X-Riak-Meta-'
|
string |
LAST_MODIFIED_KEY
|
#
'Last-Modified'
|
string |
CONTENT_TYPE_JSON
|
#
'application/json'
|
string |
CONTENT_TYPE_XML
|
#
'application/xml'
|
string |
TS_API_PREFIX
|
#
'/ts/v1/'
|
Properties summary
protected
string
|
$requestBody
Request body to be sent |
#
''
|
protected
array
|
$responseHeaders
Response headers returned from request |
#
[]
|
protected
string
|
$responseBody
Response body returned from request |
#
''
|
protected
integer
|
$statusCode
HTTP Status Code from response |
#
0
|
protected
null
|
$connection
cURL connection handle |
#
null
|
protected
string
|
$path
API path |
#
''
|
protected
string
|
$query
Query string |
#
''
|
protected
array
|
$headers
|
#
[]
|