wamp-cli
v4.2.1
Published
A CLI for testing WAMP connections
Readme
WAMP CLI
A CLI tool to help building applications with the Web Applications Messaging Protocol
Usage
# URL -> REALM
$> npx -p wamp-cli wampc ws://localhost:9000/ws public
Connecting to ws://localhost:9000/ws public
Connected
┌───────────────────┬─────────────────────────┐
│ Command │ Description │
├───────────────────┼─────────────────────────┤
│ .SUB <topic> │ Subscript to a topic │
├───────────────────┼─────────────────────────┤
│ .PUB <topic> │ Publish to a topic │
├───────────────────┼─────────────────────────┤
│ .REG <procedure> │ Register a RPC endpoint │
├───────────────────┼─────────────────────────┤
│ .CALL <procedure> │ Call a RPC endpoint │
└───────────────────┴─────────────────────────┘
┌────────────┬─────────────────────┐
│ Variable │ Description │
├────────────┼─────────────────────┤
│ connection │ The WAMP connection │
├────────────┼─────────────────────┤
│ session │ The WAMP session │
└────────────┴─────────────────────┘
$>