File tree Expand file tree Collapse file tree
ModelContextProtocol.AspNetCore
ModelContextProtocol.Core/Server Expand file tree Collapse file tree Original file line number Diff line number Diff 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 ;
Original file line number Diff line number Diff 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/>
You can’t perform that action at this time.
0 commit comments