Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Change version and adapt comment
- Change version to 0.3.3
- Adapt comment about new parameter
  • Loading branch information
alexander-irion committed Apr 2, 2025
commit 27cdff35d4a14fb2fc7d773e0cae86aceb4c20c6
2 changes: 1 addition & 1 deletion packages/multicast_dns/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## 0.3.2+9
## 0.3.3

* Adds an optional error callback for `MDnsClient::start` to prevent uncaught exceptions.

Expand Down
8 changes: 3 additions & 5 deletions packages/multicast_dns/lib/multicast_dns.dart
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,9 @@ class MDnsClient {
/// for the mDNS query. If not provided, defaults to either `224.0.0.251` or
/// or `FF02::FB`.
///
/// The [onError] function allows to provide a callback function, called in
/// case of a stream error. If omitted any errors on the stream are considered
/// unhandled, and will be passed to the current [Zone]'s error handler. By
/// default unhandled async errors are treated as if they were uncaught top-level
/// errors.
/// If provided, [onError] will be called in case of a stream error. If
/// omitted any errors on the stream are considered unhandled, and will be
/// passed to the current [Zone]'s error handler.
///
/// Subsequent calls to this method are ignored while the mDNS client is in
/// started state.
Expand Down
2 changes: 1 addition & 1 deletion packages/multicast_dns/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: multicast_dns
description: Dart package for performing mDNS queries (e.g. Bonjour, Avahi).
repository: https://github.com/flutter/packages/tree/main/packages/multicast_dns
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+multicast_dns%22
version: 0.3.2+9
version: 0.3.3

environment:
sdk: ^3.4.0
Expand Down