sendNowait method

int sendNowait(
  1. String type,
  2. Uint8List data, {
  3. int? id,
})

Implementation

int sendNowait(String type, Uint8List data, {int? id}) {
  if (_room._entered && !_room.isConnected && !_room._allowDisconnectedRequests) {
    throw _room._disconnectedError(baseMessage: 'room connection is disconnected');
  }
  return _room._protocolInstance.sendNowait(type, data, id: id);
}