getClientConfig method

Future<void> getClientConfig(
  1. String format
)

Get client configuration

Get a subset of the server configuration needed by the client. ##### Permissions No permission required.

Parameters:

  • String format (required): Must be old, other formats not implemented yet

Implementation

Future<void> getClientConfig(
  String format,
) async {
  final response = await getClientConfigWithHttpInfo(
    format,
  );
  if (response.statusCode >= HttpStatus.badRequest) {
    throw MmApiException(response.statusCode, await _decodeBodyBytes(response));
  }
}