discomposed 0.0.1-alpha01 discomposed: ^0.0.1-alpha01 copied to clipboard
A library that composes together some of the common service discovery techniques for local networking.
example/discomposed_example.dart
import 'dart:convert';
import 'package:discomposed/discomposed.dart';
void main() async {
var serviceDiscoverer = CompositeServiceDiscoverer();
var services = await serviceDiscoverer.findAllServices();
var servicesJson = JsonEncoder.withIndent(' ').convert(services.toList());
print('---\nThe following services were discovered:\n\n${servicesJson}');
}