mirror of
https://github.com/coder/code-server.git
synced 2024-12-18 15:11:35 +03:00
16 lines
314 B
Markdown
16 lines
314 B
Markdown
|
# server
|
||
|
|
||
|
## Endpoints
|
||
|
|
||
|
### `/tunnel/<port>`
|
||
|
|
||
|
Tunnels a TCP connection over WebSockets. Implemented for proxying connections from a remote machine locally.
|
||
|
|
||
|
### `/ports`
|
||
|
|
||
|
Watches for open ports. Implemented for tunneling ports on the remote server.
|
||
|
|
||
|
### `/resource/<url>`
|
||
|
|
||
|
Reads files on GET.
|
||
|
Writes files on POST.
|