File tree Expand file tree Collapse file tree 1 file changed +0
-7
lines changed
src/ModelContextProtocol/Protocol/Transport Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Original file line number Diff line number Diff line change 11using ModelContextProtocol . Server ;
2- using System . Diagnostics . CodeAnalysis ;
32using System . Net ;
43using System . Text ;
54
@@ -8,7 +7,6 @@ namespace ModelContextProtocol.Protocol.Transport;
87/// <summary>
98/// HTTP server provider using HttpListener.
109/// </summary>
11- [ ExcludeFromCodeCoverage ]
1210internal class HttpListenerServerProvider : IDisposable
1311{
1412 private static readonly byte [ ] s_accepted = "Accepted"u8 . ToArray ( ) ;
@@ -32,11 +30,6 @@ public HttpListenerServerProvider(int port)
3230 _port = port ;
3331 }
3432
35- public Task < string > GetSseEndpointUri ( )
36- {
37- return Task . FromResult ( $ "http://localhost:{ _port } { SseEndpoint } ") ;
38- }
39-
4033 public Task InitializeMessageHandler ( Func < string , CancellationToken , bool > messageHandler )
4134 {
4235 _messageHandler = messageHandler ;
You can’t perform that action at this time.
0 commit comments