Skip to content

HTTP Proxy API

TCP Proxy

WSS/v1/sprites/{name}/proxy

Establish a WebSocket tunnel to a port inside the sprite environment.

StatusDescription
101Switching Protocols - WebSocket connection established
400Bad Request - Invalid WebSocket upgrade or missing parameters
404Not Found - Resource not found
FieldTypeDescription
hoststringTarget hostname (typically “localhost”)
portintTarget port (1-65535)
{
"host": "localhost",
"port": 5432
}
Request