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-android
neck-head-ios
neck-head-blackberry
- and so on...
Task
- A kind ofPromise
that delivers an action to anHead
, and returns result toCli
requestHead
Browser
( should detect and divergeplatform
andbrowserName
)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...Request
Response