This website requires JavaScript.
Explore
Help
Register
Sign In
github
/
natpass
Watch
4
Star
0
Fork
0
mirror of
https://github.com/lwch/natpass.git
synced
2024-04-21 12:41:54 +00:00
Code
Issues
Projects
Releases
Wiki
Activity
Files
4dc732dca3e7a7ada91e95c4d039560bb2730739
natpass
/
dev
/
step3.md
T
李文超
and
gitbook-bot
4dc732dca3
GitBook: [
#10
] No subject
2022-07-07 06:47:59 +00:00
502 B
Raw
Blame
History
S3 - shell
shell功能的主要流程如下:
当用户点击终端页面的连接按钮后,会调用
/new
接口创建一个到远端的连接
在
/new
接口中会优先发送一个connect_req消息来创建一个shell的连接
等待远端返回connect_rep消息,若连接创建成功则返回该链接的ID
创建
/ws/<linkid>
的websocket连接
调用
/resize
接口调整pty设备的大小
开始转发数据
Reference in New Issue
View Git Blame
Copy Permalink