Hprose for HTML5
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
- Delphi/Free Pascal
- dotNET(C#, Visual Basic...)
Through Hprose, You can conveniently and efficiently intercommunicate between those programming languages.
This project is the implementation of Hprose for HTML5.
- Google Chrome 10+
- Apple Safari 6+
- Mozilla Firefox 9+
- Opera 12+
- Microsoft Internet Explorer 10.0+
- Apple Safari on iOS 6+
- Google Chrome on Android
- Default Browser on Android 4+
- Firefox Mobile
- Internet Explorer on Windows Phone
Hybird app support
- ionic + cordova (http, tcp, websocket)
- Chrome extentions (http, tcp, websocket)
- APICloud (http, tcp*)
- DCloud (http)
- AppCan (http)
- ... (http, websocket)
TCP is only available on iOS for APICloud, because there is a bug of APICloud Android SDK, and they don't want to fix this bug.
hprose-html5.js in your html.
If an error occurred on the server, or your service function/method throw an exception, it will be sent to the client. You need to pass an error callback function after succuss callback function to receive it. If you omit this callback function, the client will ignore the exception, like never happened.