Skip to content
This repository has been archived by the owner on Aug 12, 2023. It is now read-only.

Latest commit

 

History

History
22 lines (16 loc) · 868 Bytes

README.md

File metadata and controls

22 lines (16 loc) · 868 Bytes

Node.js implementation of AMP. (http://amp-protocol.net)

Build Status

Currently just provides functionality to receive an AMP box and send an AMP box (an AMP box being defined as a dictionary with utf8 strings as keys and Buffers as values).

###Server example: Run "node examples/ampserver.js" and twisted's doc/core/examples/ampclient.py. This just prints out the box received, but doesn't reply since the serialization layer hasn't been implemented yet.

###Client example: Run twisted's doc/core/examples/ampserver.py and "node examples/ampclient.js". An AMP box is hacked togethe to do call Sum on two numbers on the amp server. The reply from the server (in AMP box form) is printed to the console.

###TODO:

  • AMP serialization format
  • real sample server and client