WebSocket - amitsri/rostyman-releases GitHub Wiki
WebSocket Support
Open persistent WebSocket connections and send/receive messages in real time.
Creating a WebSocket Request
- Click + (New Request) and select WebSocket
- Enter the URL:
ws://host:port/pathorwss://for secure connections - Click Connect
Tabs
| Tab | Description |
|---|---|
| Message | Send editor (text, JSON, XML, or HTML) |
| Params | URL query parameters |
| Headers | Custom headers for the handshake |
| Settings | SSL, timeouts, reconnection options |
Connection Status
| Color | State |
|---|---|
| Gray | Disconnected |
| Yellow | Connecting |
| Green | Connected |
| Red | Error |
Auto-Generated Headers
These are sent automatically during the WebSocket handshake:
Host(from URL)Connection: UpgradeUpgrade: websocketSec-WebSocket-Key(generated)Sec-WebSocket-Version: 13
You can add custom headers in the Headers tab.
Message Log
Messages appear in a scrollable log with:
- ↑ Sent — messages you sent
- ↓ Received — messages from the server
- ℹ System — connection events
Filter by: All, Sent, Received, or System.
Each message shows a timestamp (HH:MM:SS) and is expandable to view full content.
Settings
| Setting | Description | Default |
|---|---|---|
| SSL verification | Verify server certificate | On |
| Handshake timeout | Max wait for connection (ms, 0 = no limit) | 0 |
| Reconnect attempts | Auto-reconnect tries (0 = disabled) | 0 |
| Reconnect interval | Wait between reconnect attempts (ms) | — |
| Max message size | Limit in MB (0 = unlimited) | 0 |
Keyboard Shortcuts
Ctrl+S— Save request