1
0
mirror of https://github.com/actix/examples synced 2024-12-18 08:23:10 +01:00
examples/protobuf/README.md

27 lines
382 B
Markdown
Raw Normal View History

# protobuf
## Usage
### Server
```shell
2022-02-18 03:22:58 +01:00
cd protobuf
cargo run
```
### Client
```shell
# 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
2022-02-17 21:22:36 +01:00
cd ../..
python3 client.py
```