Deliver HTML or any other sort of file

Download node.js eBook

Syntax

  • response.sendFile(fileName, options, function (err) {});

Related Examples

Stats

24 Contributors: 3
Sunday, June 18, 2017
Licensed under: CC-BY-SA

Not affiliated with Stack Overflow
Rip Tutorial: info@zzzprojects.com

Download eBook