Expand description
Browser — Bonjour and application-service discovery via nw_browser.
Structs§
- Bonjour
Advertiser - RAII guard for a running Bonjour service advertisement. Drop to stop publishing the service to the local network.
- Browse
Descriptor - A descriptor describing what a browser should look for.
- Browse
Result - Rich browse result metadata delivered by
nw_browser. - Browse
Result Change - Bitflags describing how a browse result changed.
- Browse
Results Browser - RAII guard for a running
nw_browserthat delivers rich browse-result objects. - Browser
- RAII guard for a running
nw_browser. Drop to stop receiving discovery callbacks. - Discovered
Service - One Bonjour service that the browser has observed appearing or disappearing on the network.
Enums§
- Browser
Event - Discovery event delivered to the browser closure.
- Browser
State - Browser lifecycle states reported by
nw_browser_set_state_changed_handler.
Functions§
- advertise_
bonjour_ service - Publish a Bonjour service on the local network.
- start_
browser - Start browsing for Bonjour services of
service_typeindomain. - start_
browser_ results_ with_ descriptor - Start browsing with rich browse-result objects and change metadata.
- start_
browser_ with_ descriptor - Start browsing with an explicit descriptor and optional parameters.