interface DropboxHttpClientInterface (View source)

DropboxHttpClientInterface

Methods

send(string $url, string $method, string|resource|StreamInterface $body, array $headers = array(), array $options = array())

Send request to the server and fetch the raw response

Details

at line line 22
DropboxRawResponse send(string $url, string $method, string|resource|StreamInterface $body, array $headers = array(), array $options = array())

Send request to the server and fetch the raw response

Parameters

string $url URL/Endpoint to send the request to
string $method Request Method
string|resource|StreamInterface $body Request Body
array $headers Request Headers
array $options Additional Options

Return Value

DropboxRawResponse Raw response from the server

Exceptions

DropboxClientException