|
|
|
@ -18,13 +18,13 @@ For example:
|
|
|
|
|
|
|
|
|
|
start connect to tunnel server with URL: `'ws://192.168.1.10:7777/ws?method=connectArthas&id=bvDOe8XbTM2pQWjF4cfw`
|
|
|
|
|
|
|
|
|
|
4. Arthas server find the `control connection` with the id `bvDOe8XbTM2pQWjF4cfw`
|
|
|
|
|
4. Arthas tunnel server find the `control connection` with the id `bvDOe8XbTM2pQWjF4cfw`
|
|
|
|
|
|
|
|
|
|
then send a text frame to arthas tunnel client: `response:/?method=startTunnel&id=bvDOe8XbTM2pQWjF4cfw&clientConnectionId=AMku9EFz2gxeL2gedGOC`
|
|
|
|
|
|
|
|
|
|
5. Arthas tunnel client open a new connection to tunnel server
|
|
|
|
|
|
|
|
|
|
URL: `ws://127.0.0.1:7777/ws/?method=openTunnel&clientConnectionId=AMku9EFz2gxeL2gedGOC&id=bvDOe8XbTM2pQWjF4cfw`
|
|
|
|
|
URL: `ws://192.168.1.10:7777/ws/?method=openTunnel&clientConnectionId=AMku9EFz2gxeL2gedGOC&id=bvDOe8XbTM2pQWjF4cfw`
|
|
|
|
|
|
|
|
|
|
This connection is `tunnel connection`
|
|
|
|
|
|
|
|
|
|