NetworkInterfacesFactory typedef

NetworkInterfacesFactory = Future<Iterable<NetworkInterface>> Function(InternetAddressType type)

A callback type for MDnsQuerier.start to iterate available network interfaces.

Implementations must ensure they return interfaces appropriate for the type parameter.

See also:

  • MDnsQuerier.allInterfacesFactory

Implementation

typedef NetworkInterfacesFactory = Future<Iterable<NetworkInterface>> Function(
    InternetAddressType type);