Hprose for AAuto Quicker
Latest commit 3edea11 Jun 15, 2016 @andot andot Fixed #2
Failed to load latest commit information.
hprose Fixed #2 Jun 15, 2016
LICENSE.md Update LICENSE.md Feb 6, 2016
README.md Added Gitter badge May 2, 2015
README_zh_CN.md Update README Mar 9, 2014


Hprose for AAuto Quicker

Join the chat at https://gitter.im/hprose/hprose-aauto


Hprose is a High Performance Remote Object Service Engine.

It is a modern, lightweight, cross-language, cross-platform, object-oriented, high performance, remote dynamic communication middleware. It is not only easy to use, but powerful. You just need a little time to learn, then you can use it to easily construct cross language cross platform distributed application system.

Hprose supports many programming languages, for example:

  • AAuto Quicker
  • ActionScript
  • ASP
  • C++
  • Dart
  • Delphi/Free Pascal
  • dotNET(C#, Visual Basic...)
  • Golang
  • Java
  • JavaScript
  • Node.js
  • Objective-C
  • Perl
  • PHP
  • Python
  • Ruby
  • ...

Through Hprose, You can conveniently and efficiently intercommunicate between those programming languages.

This project is the implementation of Hprose for AAuto Quicker.


Synchronous Invoking

Hprose for AAuto Quicker only has a client, you can use it like this:

import hprose;


var client = hprose.client.create("http://hprose.com/example/");


Synchronous Exception Handling

If an error occurred on the server, or your service function/method throw an exception. it will be sent to the client, and the client will throw it as an exception. You can use the try statement to catch it.

Asynchronous Invoking

When you develop winform application, you'd better to use asynchronous invoking:

import win.ui;
import hprose;

var winform = ..win.form(text="AAuto Form";right=599;bottom=399)

winform.button.oncommand = function(id,event){
    var client = hprose.client.create("http://hprose.com/example/");
    client.hello("async world", function(result) {
        winform.edit.text = 'result: \r\n' ++ result;
    }, function(name, err) {
        winform.edit.text = 'error: \r\n' ++ err;


Asynchronous Exception Handling

When using asynchronous invoking, you need to pass an error callback function after succuss callback function to receive the server-side exception. If you omit this callback function, the client will ignore the exception, like never happened.