noder:用于 Ruby 的 Node.js-源码

上传者: 42134143 | 上传时间: 2021-07-03 18:03:43 | 文件大小: 25KB | 文件类型: ZIP
节点 用于 Ruby 的 Node.js 概述 Noder 将 Node.js 的架构引入 Ruby。 它侧重于 Node.js 的 HTTP 相关支持的实现,因为 Ruby 的标准库和其他 gem 已经提供了许多 Node.js 其他核心模块的很好的模拟。 您可能也有兴趣 (Express.js为Ruby),这Noder始建于支持和。 Node 运行在。 例子 可以使用以下脚本创建和启动 Web 服务器: require 'noder' server = Noder :: HTTP :: Server . new do | request , response | response . write_head ( 200 , { 'Content-Type' => 'text/plain' } ) response . end ( 'Hello world!' ) end s

文件下载

资源详情

[{"title":"( 36 个子文件 25KB ) noder:用于 Ruby 的 Node.js-源码","children":[{"title":"noder-master","children":[{"title":"Gemfile <span style='color:#111;'> 39B </span>","children":null,"spread":false},{"title":"noder.gemspec <span style='color:#111;'> 632B </span>","children":null,"spread":false},{"title":"spec","children":[{"title":"support","children":[{"title":"server_integration_helper.rb <span style='color:#111;'> 1.71KB </span>","children":null,"spread":false},{"title":"certs","children":[{"title":"cert.pem <span style='color:#111;'> 1.57KB </span>","children":null,"spread":false},{"title":"key.pem <span style='color:#111;'> 1.64KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"http","children":[{"title":"utils_spec.rb <span style='color:#111;'> 589B </span>","children":null,"spread":false},{"title":"response_spec.rb <span style='color:#111;'> 2.17KB </span>","children":null,"spread":false},{"title":"request_spec.rb <span style='color:#111;'> 866B </span>","children":null,"spread":false}],"spread":true},{"title":"events","children":[{"title":"event_emitter_spec.rb <span style='color:#111;'> 2.18KB </span>","children":null,"spread":false}],"spread":true},{"title":"integration","children":[{"title":"http","children":[{"title":"listeners","children":[{"title":"not_found_spec.rb <span style='color:#111;'> 322B </span>","children":null,"spread":false}],"spread":true},{"title":"response_spec.rb <span style='color:#111;'> 1.87KB </span>","children":null,"spread":false},{"title":"server_spec.rb <span style='color:#111;'> 1.41KB </span>","children":null,"spread":false},{"title":"request_spec.rb <span style='color:#111;'> 3.64KB </span>","children":null,"spread":false}],"spread":true},{"title":"noder_spec.rb <span style='color:#111;'> 1.21KB </span>","children":null,"spread":false}],"spread":true},{"title":"spec_helper.rb <span style='color:#111;'> 561B </span>","children":null,"spread":false}],"spread":true},{"title":".gitignore <span style='color:#111;'> 46B </span>","children":null,"spread":false},{"title":"lib","children":[{"title":"noder","children":[{"title":"utils.rb <span style='color:#111;'> 216B </span>","children":null,"spread":false},{"title":"http","children":[{"title":"server.rb <span style='color:#111;'> 2.55KB </span>","children":null,"spread":false},{"title":"response.rb <span style='color:#111;'> 1.12KB </span>","children":null,"spread":false},{"title":"listeners","children":[{"title":"response.rb <span style='color:#111;'> 272B </span>","children":null,"spread":false},{"title":"request.rb <span style='color:#111;'> 283B </span>","children":null,"spread":false},{"title":"not_found.rb <span style='color:#111;'> 464B </span>","children":null,"spread":false}],"spread":true},{"title":"utils.rb <span style='color:#111;'> 2.33KB </span>","children":null,"spread":false},{"title":"request.rb <span style='color:#111;'> 931B </span>","children":null,"spread":false},{"title":"connection.rb <span style='color:#111;'> 1.25KB </span>","children":null,"spread":false}],"spread":true},{"title":"events.rb <span style='color:#111;'> 159B </span>","children":null,"spread":false},{"title":"http.rb <span style='color:#111;'> 155B </span>","children":null,"spread":false},{"title":"version.rb <span style='color:#111;'> 37B </span>","children":null,"spread":false},{"title":"events","children":[{"title":"event_node.rb <span style='color:#111;'> 1.08KB </span>","children":null,"spread":false},{"title":"listeners","children":[{"title":"base.rb <span style='color:#111;'> 212B </span>","children":null,"spread":false}],"spread":false},{"title":"em_event_node.rb <span style='color:#111;'> 1.41KB </span>","children":null,"spread":false},{"title":"event_stack.rb <span style='color:#111;'> 1.59KB </span>","children":null,"spread":false},{"title":"event_emitter.rb <span style='color:#111;'> 1.86KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"noder.rb <span style='color:#111;'> 412B </span>","children":null,"spread":false}],"spread":true},{"title":"README.md <span style='color:#111;'> 7.58KB </span>","children":null,"spread":false},{"title":"MIT-LICENSE <span style='color:#111;'> 1.02KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明