startMultiplex method

Future<StartMultiplexResponse> startMultiplex({
  1. required String multiplexId,
})

Start (run) the multiplex. Starting the multiplex does not start the channels. You must explicitly start each channel.

May throw BadGatewayException. May throw BadRequestException. May throw ConflictException. May throw ForbiddenException. May throw GatewayTimeoutException. May throw InternalServerErrorException. May throw NotFoundException. May throw TooManyRequestsException.

Parameter multiplexId : The ID of the multiplex.

Implementation

Future<StartMultiplexResponse> startMultiplex({
  required String multiplexId,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'POST',
    requestUri: '/prod/multiplexes/${Uri.encodeComponent(multiplexId)}/start',
    exceptionFnMap: _exceptionFns,
  );
  return StartMultiplexResponse.fromJson(response);
}