Skip to content
This repository

Objective-C implementation of the Flash Remoting format (AMF0/AMF3) for servers and clients.

branch: master
README.markdown

CocoaAMF

Description

CocoaAMF is a set of classes which can make AMF0 and AMF3 remoting calls or act as a server to handle AMF requests.

Examples

For sending a remoting call see SimpleRemotingCallExample. For setting up a server see ServerExample.

For testing an existing AMF server a more complex tool is provided, namely AMFClient, so be sure to check it out!

If you want to send custom classes from Cocoa make sure to implement the NSCoding protocol. You can encode keyed and non-keyed, where the latter means you're encoding an externalizable class.

While deserializing, if no class with the classname of the received object is found, CocoaAMF creates an instance of ASObject which will contain all attributes of that object and its classname as the ivar 'type'.

Todo

  • Full test coverage

Contact

Sorry, I'm not actively maintaining the project right now!

Thanks

Something went wrong with that request. Please try again.