nsd library

Classes

Discovery
Represents a discovery.
Registration
Represents a registration.
Service
Represents a network service.

Enums

ErrorCause
Indicates the cause of an NsdError.
IpLookupType
Configures IP lookup.
LogTopic
Represents available log topics.

Functions

enableLogging(LogTopic logTopic) → void
Enables logging for the specified topic.
register(Service service) Future<Registration>
Registers a service.
resolve(Service service) Future<Service>
Resolves a service.
startDiscovery(String serviceType, {bool autoResolve = true, IpLookupType ipLookupType = IpLookupType.none}) Future<Discovery>
Starts a discovery for the specified service type.
stopDiscovery(Discovery discovery) Future<void>
Stops the specified discovery.
unregister(Registration registration) Future<void>
Unregisters a service.

Exceptions / Errors

NsdError
Represents an error that occurred during an NSD operation.