Add an example integration test for SSE (#2465)

Signed-off-by: Hung-Han (Henry) Chen <[email protected]>
Co-authored-by: David Pedersen <[email protected]>
This commit is contained in:
Henry Chen
2023-12-30 18:04:23 +01:00
committed by GitHub
co-authored by David Pedersen
parent 046e7299e1
commit c34041510c
2 changed files with 76 additions and 9 deletions
+5
View File
@@ -14,3 +14,8 @@ tokio-stream = "0.1"
tower-http = { version = "0.5.0", features = ["fs", "trace"] }
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
[dev-dependencies]
eventsource-stream = "0.2"
reqwest = { version = "0.11", features = ["stream"] }
reqwest-eventsource = "0.5"