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:
parent
b9e192275b
commit
59bfb6e748
1 changed files with 77 additions and 11 deletions
|
|
@ -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"
|
||||
Loading…
Reference in a new issue