HTTP1_SESSION was
- HTTP Parser (based on http-parser)
- WebSocket Parser
It runs on *BSD and Linux. Windows was not tested.
support LuaJIT's pull-style api, require luarocks to make.
source code are written in moocscript, then ./compile.sh
to generate Lua source.
$ luarocks install ffi-http1-session [--local]
Needs luarocks to compile and install:
$ [sudo] luarock make
Please refers to
- tests/test_wired.mooc
- tests/test_mnet.mooc
and run test as
$ ./tests/test.sh tests/test_wired.mooc
$ ./tests/test.sh tests/test_mnet.mooc