You are here

public function RestClientInterface::httpRequestRaw in Salesforce Suite 5.0.x

Same name and namespace in other branches
  1. 8.4 src/Rest/RestClientInterface.php \Drupal\salesforce\Rest\RestClientInterface::httpRequestRaw()
  2. 8.3 src/Rest/RestClientInterface.php \Drupal\salesforce\Rest\RestClientInterface::httpRequestRaw()

Return raw response content from given URL.

Useful for fetching data from binary fields like Attachments.

Parameters

string $url: The url to request.

Return value

mixed The raw http response body.

Throws

\Exception

1 method overrides RestClientInterface::httpRequestRaw()
RestClient::httpRequestRaw in src/Rest/RestClient.php
Return raw response content from given URL.

File

src/Rest/RestClientInterface.php, line 65

Class

RestClientInterface
Objects, properties, and methods to communicate with the Salesforce REST API.

Namespace

Drupal\salesforce\Rest

Code

public function httpRequestRaw($url);