IBM Worklight 6.1 - 适配器参数大小限制 [英] IBM Worklight 6.1 - adapter parameters size limit

查看:201
本文介绍了IBM Worklight 6.1 - 适配器参数大小限制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试通过Worklight适配器发送base64图像。

I am trying to send a base64 image via Worklight adapter.

我想知道适配器可以处理哪些参数大小?

I want to know which parameters size can the adapter handle?

我可以使用8MB图像并将其转换为base64(假设它将在1参数上变为12兆字节),然后将其成功发送到worklight适配器吗?或适配器参数有长度限制吗?

Can I use a 8MB Image and convert it to base64 (let's say it will become 12 Mega Byte on 1 parameter), and then send it successfully to worklight adapter? or there is a length limit for the adapter parameters?

推荐答案

基本上,不应有任何限制。

Basically, there shouldn't be any limitation.

但是......我认为你需要重新思考为什么你想要将12mb大小的图像发送到你的应用程序(实际上是设备)。

But... I think you need to re-think why you would want to send a 12mb-sized image to your app (to the device, actually).


  1. 按时加载它会很慢并造成瓶颈

  2. 我不知道你的情况,但为什么不发送图像链接并加载?

  3. 为什么不使用Cordova File API进行文件传输(这更正确,因为适配器不适合这样的数据传输 - 而是你可以使用File API +将与数据库通信的servlet)

这篇关于IBM Worklight 6.1 - 适配器参数大小限制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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