LiquidAI-project / wasmiot-supervisor

Device supervisor to manage deployment of WebAssembly modules. Works together with wasmiot-orchestrator.
MIT License
0 stars 1 forks source link

Attempt at creating a generic route for module input #4

Closed trkks closed 1 year ago

trkks commented 1 year ago

Attempted to have the inputs and outputs of function-calls be bytes, but couldn't get it working.

Added the helper endpoint_failed in an attempt to make errors easier and consistent.

Removed the devcontainer port forwarding because VSCode of complaining (seems to autoforward it or smth anyway?), so note if that has any issues on anyone else's setup!

Anyway, figured it would be good to merge now, than to keep this waiting and it does not affect other routes' behaviour so should be safe.