getStatusRaw method

  1. @experimental
DynamiteRawResponse<Status, void> getStatusRaw()

This method and the response it returns is experimental. The API might change without a major version bump.

Returns a Future containing a DynamiteRawResponse with the raw HttpClientResponse and serialization helpers. Throws a DynamiteApiException if the API call does not return an expected status code.

Status codes:

  • 200: Status returned

See:

  • getStatus for an operation that returns a DynamiteResponse with a stable API.

Implementation

@_i4.experimental
_i1.DynamiteRawResponse<Status, void> getStatusRaw() {
  const _headers = <String, String>{'Accept': 'application/json'};

  const _path = '/status.php';
  return _i1.DynamiteRawResponse<Status, void>(
    response: executeRequest(
      'get',
      _path,
      headers: _headers,
      validStatuses: const {200},
    ),
    bodyType: const FullType(Status),
    headersType: null,
    serializers: _$jsonSerializers,
  );
}