AnyT is a command-line tool to test your AnyCable-compatible WebSocket servers. It contains a set of tests to determine which features are supported by the implementation under consideration.
gem install anyt
You should provide a command to run the server and the target URL for WebSocket clients:
anyt -c "anycable-go" --target-url="ws://localhost:8080/cable"
By default it launches gRPC server on localhost:50051
and use local Redis instance for broadcasts (localhost:6379
).
For more options run:
anyt -h
Bug reports and pull requests are welcome on GitHub at https://github.com/anycable/anyt/issues.
The library is available as open source under the terms of the MIT License.