MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / getTransportMethods

Function getTransportMethods

src/settings/lspSettings.js:45–60  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

43}
44
45function getTransportMethods() {
46 return [
47 {
48 value: "stdio",
49 text:
50 strings["lsp-transport-method-stdio"] ||
51 "STDIO (launch a binary command)",
52 },
53 {
54 value: "websocket",
55 text:
56 strings["lsp-transport-method-websocket"] ||
57 "WebSocket (connect to a ws/wss URL)",
58 },
59 ];
60}
61
62function parseWebSocketUrl(value) {
63 const normalized = String(value || "").trim();

Callers 1

callbackFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected