connectToDome method

  1. @override
Future<bool> connectToDome(
  1. String host,
  2. int port
)
override

Connect to dome projection system

Implementation

@override
Future<bool> connectToDome(String host, int port) async {
  // Web can connect to dome through HTTP
  try {
    // In a real implementation, this would make an HTTP request
    return true;
  } catch (e) {
    return false;
  }
}