I’m looking for some guidance or pointers. Let me first start by saying I have a very basic understanding of Rust and would consider myself a novice (maybe I’m just in over my head). The project I’m working on connects to a websocket server using
ws-rs and I would like to decode the
prost::Message. I have successfully generated all the protocols from the
*.proto files but I’m failing to understand how I would go about decoding the messages.
An example of the generated
sc2api_protocol on build can be found here: https://github.com/ttdonovan/sc2-api-rs/blob/master/examples/sc2api_protocol.rs
To run the example I’ve been using a local git clone of
pysc2, editing the source to manually setting the port to 5000: https://github.com/deepmind/pysc2/blob/master/pysc2/lib/sc_process.py#L62
cargo run --example client
Any tips or references to other projects would greatly be appreciated.