Tags: modelcontextprotocol/csharp-sdk
Tags
Improve testing for StreamableHttpHandler and IdleTrackingBackgroundS… …ervice (#345) * Add idle session pruning tests * Remove redundant CTS from StreamableHttpHandler * StreamableHttpServerTransport.HandlePostRequest already creates the equivelant CTS which DeleteRequest_CompletesSession_WhichCancelsLongRunningToolCalls verifies * Fix accept header validation for GET * Use InvalidOperationException for transport-not-connected errors in doc comments * Fix flaky Cancellation_ThrowsCancellationException test
Add server-side Streamable HTTP transport support (#330) - Changes IJsonRpcMessage to an abstract base class so RelatedTransport will always be available - Streamable HTTP supports multiple concurrent HTTP request with their own indpendent SSE response streams - RelatedTransport indicates the source or destination of the JsonRpcMessage - Changes the default RequestId to a JSON number for better compatibility with MCP servers in the wild
PreviousNext