Module to allow IIS to act as an ASGI Interface Server for Django Channels. Supports both HTTP and WebSockets.
Requires:
- Visual Studio 2015
- CMake 2.8+
To build:
mkdir build && cd build- Then either:
- x86:
cmake .. -G "Visual Studio 14 2015" - x64:
cmake .. -G "Visual Studio 14 2015 Win64"
- x86:
cmake --build . --configuration Debug- Or open the
.slnfile it creates.
- Or open the
It isn't ready for people to install and use. If you're really keen, you can look at the code in IntegrationTests/fixtures/ for an idea of how to install it.
The module can not currently be run on IIS 7.5 and it requires the Web Sockets module to be installed. Eventually we will support IIS 7.5 (without Web Socket support).
There are two sets of tests:
- Unit tests, in
RedisAsgiHandlerTests/. These usegoogletestandgooglemock. - Integration tests, in
IntegrationTests/. These usepytestand install the module into IIS before each test.
To run the integration tests you will need the following installed:
To run all the tests: ctest -C Debug --output-on-failure. Append -R AsgiHandler to run just the unit tests, or -R Integration to run just the integration tests.
Relies on the following libraries, which are downloaded and built automatically:
msgpack-c- Microsoft fork of
hiredis googletest/googlemockfor unit tests
There are a number of Python dependencies recorded in IntegrationTests/requirements.txt. These are automatically installed into a venv when the project is built.