GET
GET
Class for communicating with an HTTP JSON endpoint
makeRequest(string $method, string $path, array $data) : array
Make a request against the endpoint Returned array has the following elements: 'code' => the HTTP status code returned 'headers' => array of HTTP headers, indexed by header name 'data' => array return data
string | $method | |
string | $path | |
array | $data |
setAuth(string $username, string $password) : \Everyman\Neo4j\Transport
Set username and password to use with HTTP Basic Auth
Returns this Trnasport object
string | $username | |
string | $password |
useHttps(boolean $useHttps) : \Everyman\Neo4j\Transport
Turn HTTPS on or off
Returns this Trnasport object
boolean | $useHttps |