Reqq
This just shows off some cool HAR stuff (Hot API Reloading)
To see it in action, open the test/index.html
page in your browser and start
test/server.js
. Then restart test/server.js
a bunch of times and look at
your brower live update!
API
reqq.createServer() -> http.Server
Creates the server for updating the client.
reqq.createAPI(host: String) -> reqq.API
reqq.API.get(path: String, callback[JSON])
reqq.API.post(path: String, body: JSON, callback[JSON])
Example
// server.js let express = let reqq = reqq let app = // ...
// client.jsx let React = let reqq = let API = reqq let Hello = React