docs(patches): add notes for testing connection-type
This commit is contained in:
parent
31a354a343
commit
35a18197e0
@ -4,6 +4,12 @@ This allows the backend to distinguish them. In our case we use them to count a
|
|||||||
single "open" of Code so we need to be able to distinguish between web sockets
|
single "open" of Code so we need to be able to distinguish between web sockets
|
||||||
from two instances and two web sockets used in a single instance.
|
from two instances and two web sockets used in a single instance.
|
||||||
|
|
||||||
|
To test this,
|
||||||
|
1. Run code-server
|
||||||
|
2. Open Network tab in Browser DevTools and look for websocket requests
|
||||||
|
3. You should see the connection type in the request url
|
||||||
|
|
||||||
|
|
||||||
Index: code-server/lib/vscode/src/vs/platform/remote/common/remoteAgentConnection.ts
|
Index: code-server/lib/vscode/src/vs/platform/remote/common/remoteAgentConnection.ts
|
||||||
===================================================================
|
===================================================================
|
||||||
--- code-server.orig/lib/vscode/src/vs/platform/remote/common/remoteAgentConnection.ts
|
--- code-server.orig/lib/vscode/src/vs/platform/remote/common/remoteAgentConnection.ts
|
||||||
|
Reference in New Issue
Block a user