Module to allow IIS to act as an ASGI Interface Server for Django Channels. Supports both HTTP and WebSockets.
- Visual Studio 2015
- CMake 2.8+
mkdir build && cd build
- Then either:
cmake .. -G "Visual Studio 14 2015"
cmake .. -G "Visual Studio 14 2015 Win64"
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 use
- Integration tests, in
IntegrationTests/. These use
pytestand 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:
- Microsoft fork of
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.