Octogram.Agent_builtinsThis module introduces the remote procedure allowing to manage the lifecycle of a remote agent.
val agent_should_continue : Agent_state.t -> booltype Remote_procedure.t += | Quit : (unit, 'uri) Remote_procedure.tQuit can be used to terminate an agent gracefully.
| Start_http_server : start_http_server -> (start_http_server_r, 'uri)
Remote_procedure.tStart_http_server spawns a HTTP server on the agent, which can later be used to fetch files from it.
Each agent can spawn at most one HTTP server.
*)| Tar : 'uri tar -> (unit, 'uri) Remote_procedure.tTar requests an agent to Create or Extract an archive.
When Extracting, the archive can be on a remote agent. In such a case, the HTTP server of this agent will be used as a means to fetch the archive.