Server should serve a double side API
- CLI API - which should receive tasks and drive them to an head
- HEAD API - which should receive tasks, process them and return the results
Since we have tasks, well, we should have tasks too.
Head seems to be something very ambiguous, so i admit that we can have multiple types of HEADS.
With this, i'm not talking about Browser-detection but yes to platform running.
neck-head-browser should handle tasks-per-browser-type, then we should have later:
neck-head-androidneck-head-iosneck-head-blackberry- and so on...
Task- A kind ofPromisethat delivers an action to anHead, and returns result toClirequestHeadBrowser( should detect and divergeplatformandbrowserName)Android( maybe to test default WebView? )iOS( same asAndroid)
Cli- I don't have sure how to structure this yet, just some ideas, let me sleep with them...RequestResponse