Skip to content

Commit 682d099

Browse files
committed
Clean up comments
1 parent eae6fd1 commit 682d099

2 files changed

Lines changed: 0 additions & 7 deletions

File tree

src/ModelContextProtocol.AspNetCore/StreamableHttpHandler.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,6 @@ private async ValueTask<StreamableHttpSession> MigrateSessionAsync(
373373
};
374374

375375
// Initialize the transport with the migrated session's init params.
376-
// This sets NegotiatedProtocolVersion for resumability support.
377376
await transport.HandleInitRequestAsync(initializeParams, context.User);
378377

379378
context.Response.Headers[McpSessionIdHeaderName] = sessionId;

src/ModelContextProtocol.Core/Server/StreamableHttpServerTransport.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -87,12 +87,6 @@ public StreamableHttpServerTransport(ILoggerFactory? loggerFactory = null)
8787
/// When set, the handler is notified after initialization completes so that session data can be persisted.
8888
/// </summary>
8989
/// <remarks>
90-
/// This is similar to <see cref="EventStreamStore"/> in that it provides an extensibility point
91-
/// on the transport. The <see cref="ISessionMigrationHandler.OnSessionInitializedAsync"/> method
92-
/// is called automatically when the initialization handshake completes. The
93-
/// <see cref="ISessionMigrationHandler.AllowSessionMigrationAsync"/> method is called by the
94-
/// HTTP handler when a request arrives with an unrecognized session ID.
95-
/// </remarks>
9690
public ISessionMigrationHandler? SessionMigrationHandler { get; init; }
9791

9892
/// <inheritdoc/>

0 commit comments

Comments
 (0)