0
我使用enyo js
作爲前端,並嘗試從我的Web應用程序使用xmpp
傳輸文件。我有一個插件strophe.si-filetransfer.js
。使用strophe進行XMPP文件傳輸?
要發送消息我使用了以下內容:
$msg({to : room,
type : 'chat'
}).c('body').t(message);
BoshSession.connection.send(smsg);
,但我不知道我要用來發送附件,以及如何什麼節?