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
|
|
@ -34,7 +34,6 @@ public class Program
|
|||
Resources = new(),
|
||||
Prompts = new(),
|
||||
};
|
||||
options.ProtocolVersion = "2024-11-05";
|
||||
options.ServerInstructions = "This is a test server with only stub functionality";
|
||||
|
||||
Console.WriteLine("Registering handlers.");
|
||||
|
|
|
|||
Loading…
Reference in a new issue