HTTP Proxy API
WebSocket Endpoints — Some endpoints in this section use WebSocket for bidirectional communication. The SDK handles the connection protocol automatically.
Responses
Section titled “Responses”| Status | Description |
|---|---|
101 | Switching Protocols - WebSocket connection established |
400 | Bad Request - Invalid WebSocket upgrade or missing parameters |
404 | Not Found - Resource not found |
Client → Server Messages
Section titled “Client → Server Messages”ProxyInitMessage
Section titled “ProxyInitMessage”| Field | Type | Description |
|---|---|---|
host | string | Target hostname (typically “localhost”) |
port | int | Target port (1-65535) |
{ "host": "localhost", "port": 5432} Request