startMultiplex method
Start (run) the multiplex. Starting the multiplex does not start the channels. You must explicitly start each channel.
May throw BadRequestException. May throw InternalServerErrorException. May throw ForbiddenException. May throw BadGatewayException. May throw NotFoundException. May throw GatewayTimeoutException. May throw TooManyRequestsException. May throw ConflictException.
Parameter multiplexId
:
The ID of the multiplex.
Implementation
Future<StartMultiplexResponse> startMultiplex({
required String multiplexId,
}) async {
ArgumentError.checkNotNull(multiplexId, 'multiplexId');
final response = await _protocol.send(
payload: null,
method: 'POST',
requestUri: '/prod/multiplexes/${Uri.encodeComponent(multiplexId)}/start',
exceptionFnMap: _exceptionFns,
);
return StartMultiplexResponse.fromJson(response);
}