标签: node.js hapijs
我将创建一个api来将联系人从db导出到csv文件。
我想获取每个块然后像这样写入响应文件。
set response header to application/csv while has next chunk content = fetch next chunk write content to response stream
我在使用Spring框架之前已经完成了,但是找不到用HapiJs解决它的方法。