Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 529 Bytes

README.md

File metadata and controls

18 lines (12 loc) · 529 Bytes

REST-API server

This example shows how to provide the functionality of calclib as a REST-API service.
For calcserver the Actix Web web framework is used.

The example calcclient.py shows how to communicate with the web service in Python.

To run the server in debug mode just call

cargo run --bin calcserver

To run the server in release mode just call

cargo run --release --bin calcserver