Next generation web Infrastructure.
- [gcc4.7 or clang 3.4|later][libv8][libevent2]
- High performance
- Support multithread enviroment.
- Asynchronous, Non-blocking Server
- Native Web Server
- Native code(Using C++11)
- simplicity
- Internal Web server
- Support JavaScript
- Multi-platform
OSX 10.9
Linux Ubuntu 12.04 LTS
Windows(T.B.D)
Run app:
$ ./hayate 8080 4 web.js
Connect web app:
$ curl http://127.0.0.1:8080/hello
hello World
These js fun are defined for hayate
-log()
-getUrl()
-setResponse()
Experimental stage.
only support GET Method.
GPL v2 or Proprietary(T.B.D)
reference : https://developers.google.com/v8/get_started
good code : http://kukuruku.co/hub/cpp/lightweight-http-server-in-less-than-40-lines-on-libevent-and-c-11