dart_amf 1.0.1 copy "dart_amf: ^1.0.1" to clipboard
dart_amf: ^1.0.1 copied to clipboard

outdatedDart 1 only

Provides native Dart access to the AMF protocol and BlazeDS backends

Introduction #

DartAmf provides a native Dart interface to a BlazeDS backend using AMF.

How To #

Sample of creating an amf channel and invoking a call

Amf channel = new Amf('http://my-server/messaging/amf');
channel.invoke("destination", "source", "operation"
	(result) => print("Success $result"),
	(error) => print("Error $error"));

Custom classes need to be registered before you can receive them as Dart typed objects.

class Animal {

}

BigInt extends num {
	
}

Amf.registerClass("server.package.Animal", Animal);
Amf.registerClass("another.server.package.BigInt", BigInt);
0
likes
0
points
72
downloads

Publisher

unverified uploader

Weekly Downloads

Provides native Dart access to the AMF protocol and BlazeDS backends

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

browser, uuid

More

Packages that depend on dart_amf