dart_service_announcement 1.2.3 copy "dart_service_announcement: ^1.2.3" to clipboard
dart_service_announcement: ^1.2.3 copied to clipboard

Helper libraries for creating discoverable development services

A helper library for creating tooling announcement servers for tools such as niddler

license.

Usage #

A simple usage example:

import 'package:dart_service_announcement/dart_service_announcement.dart';

class DemoServer extends ToolingServer {
  @override
  int get port => 10290;

  @override
  int get protocolVersion => 4;
}

Future<void> main() async {
  final manager = ServerAnnouncementManager('com.example.test', 6394, DemoServer());

  await manager.start();

  //Run tooling server etc

  const waitDuration = Duration(seconds: 1000000);

  await Future.delayed(waitDuration);

  await manager.stop();
}

Features and bugs #

Please file feature requests and bugs at the issue tracker.

4
likes
160
points
4.8k
downloads

Publisher

verified publisherchimerapps.com

Weekly Downloads

Helper libraries for creating discoverable development services

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

logging, synchronized

More

Packages that depend on dart_service_announcement