discomposed 0.0.1-alpha03 copy "discomposed: ^0.0.1-alpha03" to clipboard
discomposed: ^0.0.1-alpha03 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');
}
4
likes
110
pub points
40%
popularity

Publisher

unverified uploader

A library that composes together some of the common service discovery techniques for local networking.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

crypto, flutter, flutter_nsd, multicast_dns, pedantic, xml

More

Packages that depend on discomposed