csharp-language-server-protocol
csharp-language-server-protocol copied to clipboard
A new language server framework
Since this repository has not been maintained for a long time, I have redeveloped a language server framework that supports AOT and the latest LSP standard. Everyone is welcome to try it out. see: https://github.com/CppCXY/LanguageServer.Framework
Can I use your server via HTTP, not TCP? I'm trying to implement an HTTP LSP server.
maybe you can add follow code:
var host = args[0];
var port = int.Parse(args[1]);
var listener = new HttpListener();
listener.Prefixes.Add($"http://{host}:{port}/");
listener.Start();
var context = listener.GetContext();
input = context.Request.InputStream;
output = context.Response.OutputStream;
But I don't have a testing environment, so I can't know if it's correct.