mirror of
https://github.com/actix/examples
synced 2024-11-30 17:14:35 +01:00
.. | ||
src | ||
.gitignore | ||
Cargo.toml | ||
client.py | ||
README.md | ||
test_pb2.py | ||
test.proto |
protobuf
Usage
Server
cd protobuf
cargo run
Client
# Dependencies
wget https://github.com/protocolbuffers/protobuf/releases/download/v3.11.2/protobuf-python-3.11.2.zip
unzip protobuf-python-3.11.2.zip
cd protobuf-3.11.2/python/
python3 setup.py install
pip3 install --upgrade pip
pip3 install aiohttp
# Client
cd ../..
python3 client.py