I think you can just delay sending end?
end
function pageRequest(req) { wifi.getAPs(function(info) { req.end(info); }); }
Just to give you an idea - I doubt the command-names are right in that code :
Brilliant idea, I'll try this method out later, I didn't know you could just delay END, Thanks.
@Gordon started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
I think you can just delay sending
end
?Just to give you an idea - I doubt the command-names are right in that code :