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

Add metadata to subscribe functions #27

Closed
dsienkiewicz opened this issue Feb 1, 2024 · 0 comments · Fixed by #28
Closed

Add metadata to subscribe functions #27

dsienkiewicz opened this issue Feb 1, 2024 · 0 comments · Fixed by #28
Labels
enhancement New feature or request
Milestone

Comments

@dsienkiewicz
Copy link
Owner

Problem
When receiving the streamed messages, client needs also to get some sort of metadata attached to given subscription (which will work as a context data for subscription).

Solution
For each of subscribe_ functions of StreamingSocket, add one more parameter as map.
During registration of that subscription, store that metadata along with subscription.

@dsienkiewicz dsienkiewicz added the enhancement New feature or request label Feb 1, 2024
@dsienkiewicz dsienkiewicz added this to the 0.2 milestone Feb 1, 2024
@dsienkiewicz dsienkiewicz linked a pull request Feb 1, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant