This is a simple client for developing, testing and debugging websocket servers.
Go to websocket-client.js.org and enter a websocket url. After this is complete, you can enter some Json code and send it to the server, and in the field below you will see the server's response.
Please note that you probably have Cross-Origin problems.
But you can clone or download the gh-pages
branch and host it yourself or serve it with a local http server (e.g. http-server)
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
What things you need to install the software and how to install them
- A JavaScript IDE (e.g. IntelliJ IDEA)
- Node 12 or highter
- Yarn
- Angular CLI
- Git
First you have to run ng config -g cli.packageManager yarn
to set Yarn
as your default package manager.
To clone the repo run git clone https://github.com/MarcelCoding/websocket-client.git
.
And when this is finished you can open the repo with your IDE.
Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory. Use the --prod
flag for a production build.
Run ng test
to execute the unit tests via Karma.
- MarcelCoding - Initial work
- JannikEmmerich - Some typos and design stuff