Commit 073aa78
committed
docs: fix middleware example function signature
- Correct MethodHandler type parameter to use fully qualified mcp.ServerSession
- Update parameter types to use proper mcp.Params and mcp.Result instead of any
- Ensure example code matches the actual API des1 parent cb17593 commit 073aa78
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
456 | 456 | | |
457 | 457 | | |
458 | 458 | | |
459 | | - | |
460 | | - | |
| 459 | + | |
| 460 | + | |
461 | 461 | | |
462 | 462 | | |
463 | 463 | | |
| |||
0 commit comments