windy1 / zeroconf-rs

zeroconf is a cross-platform library that wraps underlying ZeroConf/mDNS implementations such as Bonjour or Avahi, providing an easy and idiomatic way to both register and browse services.
MIT License
77 stars 25 forks source link

Add ServiceType to enforce naming format and avoid ambiguous errors #12

Closed windy1 closed 3 years ago

windy1 commented 3 years ago

Adding this for more safety around service type names. Currently, if you use an invalid name you get an error with an obscure error code.