你好,游客 登录 注册 搜索
背景:
阅读新闻

Local.js 0.6.2 发布,Web 的 IPC 框架

[日期:2014-03-18] 来源:oschina.net  作者:Linux [字体:大 中 小]

Local 是一个对 Web Worker 的 postMessage API 进行封装的 HTTP 抽象层,允许本地服务器在浏览器上使用多线程方式运行,使用作为运行不被信任的软件的容器。

This release adds the function main(req, res) interface for workers, autodestroys workers which were autospawned to handle a request ("temp" workers) and includes redesigned documentation, now hosted at httplocal.com.

Local.js 0.6.2 改进内容包括:

  • 为 workers 增加了 main(req,res) 接口
  • 重新设计文档,启用 httplocal.com 域名
  • importScripts now uses the main worker's origin to resolve relative URIs.

  • importScripts is disabled after the first execution of the Worker in order to prevent information-leaking.

下载地址:https://github.com/pfraze/local/releases/tag/0.6.2

linux
相关资讯       Local.js 
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款