labring / labring/laf

[Feature] Support SSE(Server-Sent Event)

Open
#977 0 comments 0 reactions 0 assignees View on GitHub
feature
Dominant language
TypeScript
Stars
7.6k
Forks
670
PR merge metrics
No merged PRs in 30d

Description

### Search before asking

- [ ] I had searched in the [issues](https://github.com/labring/laf/issues?q=is%3Aissue) and found no similar issues.

### Feature Request

In some scenarios, we hope that Laf Client can better receive various server-side push message events

1.Request log client for real-time streaming display
2.Alerts and notifications for certain charges or traffic

Below are the SSE documentation and examples based on NestJS

[NestJS SSE](https://docs.nestjs.com/techniques/server-sent-events)
[Sample SSE](https://github.com/nestjs/nest/tree/master/sample/28-sse)

### Are you willing to submit PR?

- [ ] Yes I am willing to submit a PR!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.