refactor(sse_server): separate router and server startup (#52)

* feat: expose axum router

* feat: add axum_router example with SSE server implementation

* refactor: simplify SseServer configuration handling in server setup

* docs: add warning to SseServer::new about potential post_path issues with embedded routers
This commit is contained in:
Wang Ruobiao 2025-03-28 22:06:50 +08:00 • committed by GitHub
commit 59bfb6e748
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -33,4 +33,8 @@ path = "src/std_io.rs"
[[example]]
name = "axum"
path = "src/axum.rs"
path = "src/axum.rs"
[[example]]
name = "axum_router"
path = "src/axum_router.rs"