sendInfo method

void sendInfo(
  1. String contentType,
  2. String body,
  3. Map<String, dynamic> options
)

Implementation

void sendInfo(String contentType, String body, Map<String, dynamic> options) {
  logger.debug('sendInfo()');

  // Check Session Status.
  if (_status != C.statusConfirmed && _status != C.statusWaitingForAck) {
    throw exceptions.InvalidStateError(_status);
  }

  rtc_session_info.Info info = rtc_session_info.Info(this);

  info.send(contentType, body, options);
}