452 B
452 B
Trade Example
- export a key
export KEY_PASSWD="blarg test"
- spawn two servers:
./example 8080 ./1.key &
./example 8081 ./2.key &
- register the servers:
./trade servers add localhost:8080
./trade servers add localhost:8081
- visit one server: https://localhost:8080
- set a value (like "hello world")
- visit the other server: https://localhost:8081
- see the value set