node-fastcgi:使用node.js创建FastCGI应用程序

时间:2024-02-26 10:05:46
【文件属性】:

文件名称:node-fastcgi:使用node.js创建FastCGI应用程序

文件大小:28KB

文件格式:ZIP

更新时间:2024-02-26 10:05:46

nodejs javascript node server backend

节点fastcgi 该模块是节点标准HTTP模块(仅服务器)的直接替代。 使用FastCGI无需更改为http服务器编写的代码即可正常工作。 它可用于构建FastCGI应用程序或将现有的节点应用程序转换为FastCGI。 该实现完全符合。 例 var fcgi = require ( 'node-fastcgi' ) ; fcgi . createServer ( function ( req , res ) { if ( req . method === 'GET' ) { res . writeHead ( 200 , { 'Content-Type' : 'text/pl


【文件预览】:
node-fastcgi-master
----.travis.yml(150B)
----example()
--------cgiFallback.js(2KB)
--------integration.js(3KB)
--------fileServer.js(2KB)
----index.js(3KB)
----package.json(1KB)
----test()
--------mocha()
----LICENSE(1KB)
----.npmignore(104B)
----.gitignore(120B)
----lib()
--------server.js(11KB)
--------streams.js(5KB)
--------request.js(7KB)
--------response.js(3KB)
----README.md(9KB)

网友评论