简体   繁体   English

如何使用meteor.js监视浏览器中的数据传输?

[英]How to monitor data transmission in a browser using meteor.js?

Is it possible - and how - to serve a file from a meteor/node.js server to a meteor driven client sided app and completely tell about every stage of a file transfer process, like: started download, download progress, file downloaded and saved successfully? 是否有可能-以及如何-将文件从流星/node.js服务器提供给流星驱动的客户端应用程序,并完全说明文件传输过程的每个阶段,例如:开始下载,下载进度,文件下载和保存成功吗? Thnx! 谢谢!

The package lepozepo:s3 provides this functionality. 软件包lepozepo:s3提供了此功能。 You can look at their code and how it tracks the upload percentage here: https://github.com/Lepozepo/S3/blob/master/client/functions.coffee#L114 您可以在此处查看他们的代码及其跟踪上传百分比的方式: https//github.com/Lepozepo/S3/blob/master/client/functions.coffee#L114

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM