|
| __construct (array $options) |
|
| post ($payload, $uriPath, $queryParams) |
|
| get ($payload, $uriPath, $queryParams) |
|
| configuredClient (ClientInterface $client) |
|
| createRequest (string $method, string $uriPath, string $payload, array $headers, array $queryParams) |
|
| sendRequest (RequestInterface $request) |
|
|
static | log (string $level, string $message, array $options) |
|
◆ __construct()
InfluxDB2\DefaultApi::__construct |
( |
array | $options | ) |
|
◆ configuredClient()
InfluxDB2\DefaultApi::configuredClient |
( |
ClientInterface | $client | ) |
|
Configure client with defaults - UserAgent, Token, Redirects...
- Parameters
-
ClientInterface | $client | to configure |
- Returns
- ClientInterface
◆ createRequest()
InfluxDB2\DefaultApi::createRequest |
( |
string | $method, |
|
|
string | $uriPath, |
|
|
string | $payload, |
|
|
array | $headers, |
|
|
array | $queryParams ) |
Create HTTP request.
- Parameters
-
string | $method | The HTTP method associated with the request. |
string | $uriPath | The URI associated with the request. |
string | $payload | String content with which to populate the stream. |
| array<string,string> | $headers Request headers |
| array<string,string> | $queryParams The query string to use with the new instance. |
- Returns
- RequestInterface
◆ log()
static InfluxDB2\DefaultApi::log |
( |
string | $level, |
|
|
string | $message, |
|
|
array | $options ) |
|
static |
Log the message with required severity.
- Parameters
-
string | $level | LOG level |
string | $message | Message to log |
array | $options | Client options with logFile. |
- Returns
- void
◆ post()
InfluxDB2\DefaultApi::post |
( |
| $payload, |
|
|
| $uriPath, |
|
|
| $queryParams ) |
- Parameters
-
$payload | |
$uriPath | |
$queryParams | |
- Returns
- ResponseInterface
◆ sendRequest()
InfluxDB2\DefaultApi::sendRequest |
( |
RequestInterface | $request | ) |
|
Sends a HTTP request and returns a HTTP response.
- Parameters
-
- Returns
- ResponseInterface
The documentation for this class was generated from the following file:
- src/InfluxDB2/DefaultApi.php