Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[mdns] change PublishService() to get encoded TXT data as input #1996

Merged
merged 1 commit into from
Sep 6, 2023

Conversation

abtink
Copy link
Member

@abtink abtink commented Sep 6, 2023

This commit updates Mdns::Publisher::PublishService() to take encoded TXT data as its input, harmonizing the Publish API with the Subscribe API, which also uses encoded TXT data. This makes it easier to use with advertising proxy and TREL, avoiding the extra step of decoding already encoded TXT data to call PublishService().


Copy link
Contributor

@superwhd superwhd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

This commit updates `Mdns::Publisher::PublishService()` to take
encoded TXT data as its input, harmonizing the `Publish` API with the
`Subscribe` API, which also uses encoded TXT data. This makes it
easier to use with advertising proxy and TREL, avoiding the extra
step of decoding already encoded TXT data to call `PublishService()`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants