Improve protocol version handling (#468)
Right now by default, the client and server hardcode the initial spec version, and if there's a mismatch, the request fails. With this change, by default both client and server are allowed to float to any supported version.
This commit is contained in:
parent
703b0fe50b
commit
e0b058f260
1 changed files with 45 additions and 12 deletions
|
|
@ -6,7 +6,7 @@ namespace ModelContextProtocol.Protocol;
|
|||
/// Provides a base class for paginated requests.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <see href="https://github.com/modelcontextprotocol/specification/blob/main/schema/2024-11-05/schema.json">See the schema for details</see>
|
||||
/// <see href="https://github.com/modelcontextprotocol/specification/blob/main/schema/">See the schema for details</see>
|
||||
/// </remarks>
|
||||
public class PaginatedRequestParams : RequestParams
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue