chore(example): add example in progress (#271)
Signed-off-by: jokemanfire <hu.dingyang@zte.com.cn>
This commit is contained in:
parent
271cf0b232
commit
f8a747eaca
1 changed files with 726 additions and 2 deletions
|
|
@ -93,6 +93,14 @@ A server demonstrating the prompt framework capabilities.
|
|||
- Uses standard I/O transport
|
||||
- Good example of prompt implementation patterns
|
||||
|
||||
### Progress Demo Server (`progress_demo.rs`)
|
||||
|
||||
A server that demonstrates progress notifications during long-running operations.
|
||||
|
||||
- Provides a stream_processor tool that generates progress notifications
|
||||
- Demonstrates progress notifications during long-running operations
|
||||
- Can be run with `cargo run --example servers_progress_demo -- {stdio|sse|http|all}`
|
||||
|
||||
## How to Run
|
||||
|
||||
Each example can be run using Cargo:
|
||||
|
|
|
|||
Loading…
Reference in a new issue