Skip to content
emilkm edited this page May 26, 2013 · 9 revisions

AMF Remoting for Enyo

Enyo-AMF is an AMF 3 Client library plugin. This library is good proof of how easily extensible enyo is. It took only a few hours to reorganise amfjs to work with enyo.

Take a look at a sample application source based on enyo bootplate, and a demo.

In order to keep the library small AMF 0 is only supported for sending message headers.

Sending and Receiving Binary Data

AMF packets must be sent as binary, with all bytes intact. This requires use of XHR2. Currently the enyo core xhr.js does not suppport receiving "arraybuffer" response, so if you want to use enyo-amf you have to use the xhr.js that comes with this plugin.

Services

Clone this wiki locally