Skip to content

0xdaddy/DhttpServer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

💠 HTTPserver 💠

Very simple HTTPserver using D programming language 💠

⭐ Don't forget to leave a star! ⭐

How it works ⚙️

  • 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

paths 📁

  • 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

How to compile 🖥️

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
  1. Download visual studio .
  2. Download visual-D ext http://rainers.github.io/visuald/visuald/StartPage.html .
  3. Open DhttpServer.sln .
  4. Build the project .
  • Other OS !NOT WORK IN other OS because the program is using winAPI FUNC

ℹ️ ~Check https://wiki.dlang.org/IDEs for more info~ ℹ️

About

Simple httpServer using D language

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages