ockam
ockam copied to clipboard
feat(rust): add an http server to the node manager to return the node resources
When a NodeManager
instance is created, an HTTP server is started to serve two endpoints:
- HEAD at the root
/
to quickly verify if the node is reachable - GET at
/show
to retrieve the node's resources (same output asnode show
command)