Write "event: message" to SSE response (#192)
* Write "event: message" to SSE response * Rename McpJsonRpcEndpoint to McpEndpoint * Remove unused McpServerConfig.Arguments property
This commit is contained in:
parent
f1af251c32
commit
9b4db350c3
1 changed files with 57 additions and 13 deletions
|
|
@ -9,7 +9,7 @@ using ModelContextProtocol.Utils.Json;
|
|||
namespace ModelContextProtocol.Server;
|
||||
|
||||
/// <inheritdoc />
|
||||
internal sealed class McpServer : McpJsonRpcEndpoint, IMcpServer
|
||||
internal sealed class McpServer : McpEndpoint, IMcpServer
|
||||
{
|
||||
private readonly EventHandler? _toolsChangedDelegate;
|
||||
private readonly EventHandler? _promptsChangedDelegate;
|
||||
|
|
|
|||
Loading…
Reference in a new issue