FurqanSoftware / codemirror-languageserver

Language Server integration for CodeMirror 6
BSD 3-Clause "New" or "Revised" License
183 stars 24 forks source link

how to connect to tcp instead of web socket? #6

Closed tirumalavasu closed 3 years ago

tirumalavasu commented 3 years ago

In my case i have tcp for my language server, how to connect to tcp instead of web socket.

hjr265 commented 3 years ago

@tirumalavasu You will have to put a proxy in between that will allow the web browser to connect using WebSocket, and the proxy will interact with the LSP server over TCP.

https://hjr265.me/blog/codemirror-lsp/#language-server-over-websocket