Tip
U can find detailed docs here > wanime.io/warpc
waRPC supports following platforms:
- MacOS:
- Intel x64
- Apple Silicon arm64
- Linux:
- x64
- arm64
- IOS:
- 16.3+
- arm64
In order to proceed with the examples, you will need to install the following tools:
- wapm - WAnime package manager
- wrsc - WAnime RPC schema compiler
Installing wapm && wrsc:
curl -fsSL https://wapm.wanime.io/install.sh | shcurl -fsSL https://wrsc.wanime.io/install.sh | shAfter installing wapm, you will also need to install a few of the core waRPC libraries:
- wanime-sdk: Bundle of core waRPC SDK libraries
- polyglot: Serialization protocol
Install via wapm
TODOImportant
Please note that, each package in wapm has its own license attached to it!
Some of the packages may also require a license key.
Compile .wa.rpc schema files
j wrscGenerate cert files for server
j trust-certsTip
waRPC is language agnostic, so u can do smth like this:
c++ client<->odin serverc++ client<->go serverodin client<->rust server
Building c++ examples.
j cpp_build
Start server.
j cpp_serve
Run client.
j cpp_client
Start server.
j odin_serve
Run client.
j odin_client
Start server.
j rust_serve
Run client.
j rust_client
Start server.
j go_serve
Run client.
j go_client
Spin up any waRPC server:
j cpp_serve|odin_serve|rust_serve|go_serveRun demo
j wt_run