- uses HTTP to communicate with browsers .
- It can identify the paths\files sent by the browser, such as CSS , js ,etc..., and send them if they exist
Routers/
contains the _HTTP.d file, which in turn contains the class that handles requests and responds to them.templates/
contains the main files of the website\host, index file, css files, etc.Routers/reference
contains the file GETTER.d which contains a function that reads and returns the path given to it.coustme/
contains files containing functions programmed specifically for specific purposes.Win32/Debug
it will be useful when you use visual-d
Dhttpserver.d is the entry point || the main file
Make sure to put the templates/ folder next to the binary version of the program => output/bin/Dhttpserver.exe - output/bin/templates/
- Windows
- Download visual studio .
- Download visual-D ext http://rainers.github.io/visuald/visuald/StartPage.html .
- Open DhttpServer.sln .
- Build the project .
- Other OS
!NOT WORK IN other OS because the program is using winAPI FUNC