public function RestClientInterface::getApiUsage in Salesforce Suite 5.0.x
Same name and namespace in other branches
- 8.4 src/Rest/RestClientInterface.php \Drupal\salesforce\Rest\RestClientInterface::getApiUsage()
- 8.3 src/Rest/RestClientInterface.php \Drupal\salesforce\Rest\RestClientInterface::getApiUsage()
Get the api usage, as returned in the most recent API request header.
Return value
string|null Returns the complete Sforce-Limit-Info header from a recent API request. e.g. "api-usage=123/45678"
1 method overrides RestClientInterface::getApiUsage()
- RestClient::getApiUsage in src/
Rest/ RestClient.php - Get the api usage, as returned in the most recent API request header.
File
- src/
Rest/ RestClientInterface.php, line 120
Class
- RestClientInterface
- Objects, properties, and methods to communicate with the Salesforce REST API.
Namespace
Drupal\salesforce\RestCode
public function getApiUsage();