Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vi/wsmirror
WebSocket mirror (echo server) implementation, for running services like echo.websocket.org
https://github.com/vi/wsmirror
echo-server websocket-server websockets
Last synced: 3 months ago
JSON representation
WebSocket mirror (echo server) implementation, for running services like echo.websocket.org
- Host: GitHub
- URL: https://github.com/vi/wsmirror
- Owner: vi
- Created: 2021-09-25T00:49:21.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-05-04T21:13:48.000Z (over 2 years ago)
- Last Synced: 2024-10-05T06:14:50.181Z (3 months ago)
- Topics: echo-server, websocket-server, websockets
- Language: Rust
- Homepage:
- Size: 18.6 KB
- Stars: 7
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Description
wsmirror is a simple server application that lets you run Websocket echo server for playing with WebSockets and testing WebSocket client implementations.
It should work similar to like `echo.websocket.org` worked before.
# Public instances
* ws://ws.vi-server.org/mirror , wss://ws.vi-server.org/mirror
* ws://vi-server.org:1939/# Usage
Usage: wsmirror
Specify socket address like `127.0.0.1:1234` or `[::]:8080` as a sole command line argument.
Other options, such as maximum number of simultaneous clients, are configurable only in source code constants.# Metrics
If you build the crate with `metrics` feature (not default) and set `PROMETHEUS_EXPORT_ADDR` environment variable to e.g. `127.0.0.1:1235` then Prometheus metrics would be exported on ` http://127.0.0.1:1235/metrics`.
# See also
* wss://echo.websocket.events/