METHOD_POST
METHOD_POST
HTTP POST string constant
Helper methods for HTTP request/response handling
buildRequest(\triagens\ArangoDb\ConnectionOptions $options, string $method, string $url, string $body, array $customerHeader) : string
Create a request string (header and body)
\triagens\ArangoDb\ConnectionOptions | $options |
|
string | $method |
|
string | $url |
|
string | $body |
|
array | $customerHeader |
|
transfer(resource $socket, string $request) : string
Execute an HTTP request on an opened socket
It is the caller's responsibility to close the socket
resource | $socket |
|
string | $request |
|
createConnection(\triagens\ArangoDb\ConnectionOptions $options) : resource
Create a one-time HTTP connection by opening a socket to the server
It is the caller's responsibility to close the socket
\triagens\ArangoDb\ConnectionOptions | $options |
|