Implement SEP-1699: Support SSE Polling via Server-Side Disconnect (#604)
* feat: implement SEP-1699 SSE polling via server-side disconnect * test: add tests for priming behavior on stream start and close
This commit is contained in:
parent
61f7b7b99e
commit
971c64c31f
1 changed files with 397 additions and 22 deletions
|
|
@ -97,6 +97,7 @@ server-side-http = [
|
|||
"dep:http-body-util",
|
||||
"dep:bytes",
|
||||
"dep:sse-stream",
|
||||
"dep:axum",
|
||||
"tower",
|
||||
]
|
||||
|
||||
|
|
@ -201,4 +202,9 @@ path = "tests/test_elicitation.rs"
|
|||
[[test]]
|
||||
name = "test_task"
|
||||
required-features = ["server", "client", "macros"]
|
||||
path = "tests/test_task.rs"
|
||||
path = "tests/test_task.rs"
|
||||
|
||||
[[test]]
|
||||
name = "test_streamable_http_priming"
|
||||
required-features = ["server", "client", "transport-streamable-http-server", "reqwest"]
|
||||
path = "tests/test_streamable_http_priming.rs"
|
||||
Loading…
Reference in a new issue