Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on Dec 6, 2011
  1. @Philipp15b

    Tried to correct the markdown code.

    Philipp15b authored committed
  2. @justmoon

    Bump version to 0.0.8.

    justmoon authored committed
  3. @Philipp15b

    Added note to installation with NPM.

    Philipp15b authored committed
  4. @Philipp15b

    Added true JSON-RPC compatibility & improved error handling

    Philipp15b authored committed
    * Removed handleInvalidRequest()
    * Added handleError with JSON error object
    * Now returning JSON-RPC as it is in the specs
    * Prevented server crashes because of invalid JSON
    * Changed callback syntax used by the server functions (look at README)
    * Allowing extra error callback or error parameter in
    success callback at the client
  5. Bump version to 0.0.7.

    Stefan authored committed
  6. @brunoqc

    Report errors from the http client

    brunoqc authored committed
Commits on Aug 17, 2011
  1. Merge pull request #1 from Philipp15b/faa006481f2732b09ffd6a68174

    Added JSON-RPC version declaration in onFailure and onSuccess handlers.
  2. @Philipp15b
Commits on Jul 25, 2011
  1. added jsonrpc:2.0

Commits on Jul 17, 2011
  1. @justmoon
Commits on Jul 16, 2011
  1. @justmoon
Commits on Jul 5, 2011
  1. @justmoon

    Version bump to 0.0.5.

    justmoon authored
  2. @justmoon
  3. @justmoon

    Version bump to 0.0.4.

    justmoon authored
  4. @justmoon
Commits on Jul 4, 2011
  1. @justmoon

    Version bump.

    justmoon authored
  2. @justmoon

    Changed handler format to conform to Node.js norms.

    justmoon authored
    Callbacks should always take an "err" argument first for asynchronous
    error handling.
    Callbacks should be passed in as the last parameter (this was already
    the case).
    The parameter array should be passed in as an array. -- Now, I had
    quite some internal debate about this. It is nicer syntax-wise to have
    the arguments come in as actual arguments, not as an array.
    However, it does have the effect that the callback parameter moves
    around depending on user-submitted data. So the function will have to
    handle finding out which parameter is the callback, which is a lot
    uglier and more error-prone than just passing in the arguments as an
    Finally, I've added an additional parameter "opt" which contains the
    HTTP request object and the server object. This is useful as an
    extensible way to deliver more features and options to the handler in
    future versions of the library.
    Here is an example handler with the new syntax:
    server.expose('multiply', function (args, opt, callback) {
      var a = args[0],
          b = args[1];
      callback(null, a*b);
  3. @justmoon
Commits on Jul 1, 2011
  1. @justmoon
  2. @justmoon

    Added package.json for NPM.

    justmoon authored
Commits on Dec 20, 2010
  1. @jb55
Commits on Dec 16, 2010
  1. @jb55

    Removed debug statements

    jb55 authored
  2. @jb55

    Updated for bleeding edge node

    jb55 authored
Commits on Nov 28, 2009
  1. Create the client in the call instead of once globally.

    Eric Florenzano authored
Commits on Nov 27, 2009
  1. @ericflo
  2. @ericflo
  3. @ericflo

    Various fixes to the examples.

    ericflo authored
  4. @ericflo

    first commit

    ericflo authored
Something went wrong with that request. Please try again.