Tagging clients in SSE

Open
#737 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
rust
Domain
backend

Research direction

Start with the SSE example referenced in the issue and inspect how clients are created and how broadcasts are sent. The issue names no file or test; clarify the desired client identifier and selective-delivery behavior before determining what implementation and verification would count as done.

Written by the indexing model from the issue text.

Description

improvement

I am not sure if this is right repo to file an issue. So, if I need to move to actix-web-lab then do let me know.

In example there is code to create new client and broadcast message to all clients. Is there any way to I can attach unique id to clients? So, at the time of broadcast I can pick and choose clients where I need to send message. Any pointers would be really useful. Let me know if my question is not clear.

Dominant language
Rust
Stars
4k
Forks
812
Avg merge
6h 21m
Merged PRs (30d)
39

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from actix/examples

All issues in actix/examples

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.