Implement SSE using responses (#98)

This commit is contained in:
Kai Jewson
2021-08-14 17:29:09 +02:00
committed by GitHub
parent 045287aef9
commit 9cd543401f
7 changed files with 404 additions and 540 deletions
+1
View File
@@ -33,6 +33,7 @@ tokio = { version = "1", features = ["time"] }
tokio-util = "0.6"
tower = { version = "0.4", features = ["util", "buffer", "make"] }
tower-http = { version = "0.1", features = ["add-extension", "map-response-body"] }
sync_wrapper = "0.1.1"
# optional dependencies
tokio-tungstenite = { optional = true, version = "0.14" }