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

feat(api): add sse #219

Merged
merged 2 commits into from
Sep 9, 2024
Merged

feat(api): add sse #219

merged 2 commits into from
Sep 9, 2024

Conversation

hongcha98
Copy link
Contributor

No description provided.

@a-wing
Copy link
Member

a-wing commented Sep 9, 2024

I have a question? What is : ?

curl http://localhost:7777/api/sse/streams
data: [{"id":"web-0","createdAt":1725872657777,"publish":{"leaveAt":0,"sessions":[]},"subscribe":{"leaveAt":1725872657777,"sessions":[]}}]

data: [{"id":"web-0","createdAt":1725872657777,"publish":{"leaveAt":0,"sessions":[{"id":"0642eefec3d96869072bee7426315648","createdAt":1725872661566,"state":"new"}]},"subscribe":{"leaveAt":1725872657777,"sessions":[]}}]

:

:

:

data: []

data: []

:

:

:

:

:

:

:

:

:

:

:

@a-wing a-wing merged commit 2e98a85 into main Sep 9, 2024
6 checks passed
@a-wing a-wing deleted the feature/0.6-sse branch September 9, 2024 10:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants