Api ​
- Type
- Abstract Class
- Namespace
- craft\helpers
- Inherits
- craft\helpers\Api
- Since
- 3.3.16
Craftnet API helper.
Public Methods ​
Method | Description |
---|---|
headers() | Returns the headers that should be sent with API requests. |
platformVersions() | Returns platform info. |
processResponseHeaders() | Processes an API response’s headers. |
headers()
​
Returns the headers that should be sent with API requests.
Returns ​
platformVersions()
​
Returns platform info.
Arguments ​
$useComposerOverrides
(boolean) – Whether to factor in anyconfig.platform
overrides
Returns ​
processResponseHeaders()
​
Processes an API response’s headers.
Arguments ​
$headers