https://github.com/danushka96/ws
CLI tool for test WebSocket connections
https://github.com/danushka96/ws
cli command-line-tool javascript nodejs testing-tools websocket websocket-client websockets
Last synced: 22 days ago
JSON representation
CLI tool for test WebSocket connections
- Host: GitHub
- URL: https://github.com/danushka96/ws
- Owner: Danushka96
- Created: 2020-07-29T14:31:42.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2024-06-17T20:25:35.000Z (12 months ago)
- Last Synced: 2025-02-17T09:43:29.381Z (4 months ago)
- Topics: cli, command-line-tool, javascript, nodejs, testing-tools, websocket, websocket-client, websockets
- Language: JavaScript
- Homepage:
- Size: 22.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# WS
CLI TOOL to check Connection of [WebSockets](https://en.wikipedia.org/wiki/WebSocket).## Examples
### Connect to public echo server
```
$ ws -u echo.websocket.org
```
### With custom port```
$ ws -u echo.websocket.org -p 8080
```### With initial message
```
$ ws -u echo.websocket.org -m testMessage
```### With WSS protocol
```
$ ws -u echo.websocket.org -s true
```
## Features* Connecting to and serving WebSockets from command line.
* Text and binary modes, converting between lines (or null-terminated records) and messages.
* Linux, Windows and Mac support, [pre-built executables][releases].[releases]:https://github.com/danushka96/ws/releases
# Installation
There are multiple options for installing WebSocat. From easy to hard:
* Download a pre-build executable and install it to PATH.