如何处理与流星文件上传? [英] How would one handle a file upload with Meteor?

查看:132
本文介绍了如何处理与流星文件上传?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

现在似乎没有一种与HTTP服务器交互的方式,或者做任何与HTTP相关的事情。

你可以做的唯一事情就是通过Meteor.methods公开的RPC方法通过mongoDB API直接与mongoDB交谈。


What would be the canonical way to handle a file upload with Meteor?

解决方案

There currently doesn't seem to be a way to interact with the HTTP server or do anything related to HTTP.

The only things you can do is talk to server over the RPC methods exposed by Meteor.methods or talk to mongoDB directly over the mongoDB API exposed.

这篇关于如何处理与流星文件上传?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆