![]() |
Qore json Module 1.9.0
|
McpServer class definition; to be registered as a handler in the HttpServer class. More...
#include <McpServerHandler.qc.dox.h>
Public Attributes | |
| const | NoInputDescription = ... |
| The input description for tools that do not require any input. | |
| const | SseHandlerOpts = ... |
| Default SSE handler options. | |
Private Member Methods | |
| registerNewConnectionIntern (string cid, ServerSentEventConnection conn) | |
| Called while holding the write lock to register the new connection. | |
Private Attributes | |
| hash< string, hash< McpToolInfo > > | tmap |
| Registered tools: name -> tool. | |
| hash< string, hash< McpSessionInfo > > | smap |
| Session map; session ID -> session info. | |
| hash< string, int > | sidmap |
| Session ID map. | |
McpServer class definition; to be registered as a handler in the HttpServer class.