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

cyli/node-amp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Implementation of AMP in Node.js

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published