Skip to content

Latest commit

 

History

History
27 lines (17 loc) · 611 Bytes

File metadata and controls

27 lines (17 loc) · 611 Bytes

SAM-CLI

This CLI is just for demostration and does not support TLS.

To create a TLS Client refer the SAM Instant Messenger Library and use the tests for documentation.

How to

first ensure that the SAM server is running without TLS and then:

To run sam cli do:

cargo run -- alice 127.0.0.1:8080 127.0.0.1:8080

If you want to use a proxy for websocket:

cargo run -- alice 127.0.0.1:8080 127.0.0.1:8081

for help do:

cargo run -- --help