You are here

public function RestClientInterface::getApiUsage in Salesforce Suite 8.3

Same name and namespace in other branches
  1. 8.4 src/Rest/RestClientInterface.php \Drupal\salesforce\Rest\RestClientInterface::getApiUsage()
  2. 5.0.x 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 154

Class

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

Namespace

Drupal\salesforce\Rest

Code

public function getApiUsage();