Hi all, once I created a web server using
Which function should I call to close it? Thanks.
createServer itself returns an httpSrv class, which has a close method: http://www.espruino.com/Reference#httpSrv
var server = require("http").createServer(...);
Don't worry about formatting, just type in the text and we'll take care of making sense of it. We will auto-convert links, and if you put asterisks around words we will make them bold.
For a full reference visit the Markdown syntax.
© Espruino, powered by microcosm.
Report a problem