A web service is a software program that offers specific functionalities over the internet, like a self-service machine accessible by other programs.
Acts as an intermediary between clients and web server
Listens for incoming HTTP requests from clients, interprets them, and takes appropriate actions.
Network and Protocol Support π
- π¬π TCP/IP: Ensures reliable communication across networks.
- ππ epoll (or similar): Enables efficient handling of multiple concurrent connections, improving scalability and performance.
HTTP Methods π‘
- π¨ GET: Retrieves resources from the server.
- π POST: Submits data to the server for creation or updates.
- ποΈ DELETE: Requests removal of resources from the server.
Dynamic Content Generation π‘
*βοΈ CGI: Integrates with external programs for dynamic content generation, providing flexibility for interactive web pages.
Static Content Servingπ¦
*βοΈ Delivers static resources (HTML, images, CSS, JavaScript) efficiently.
Run the following to make the project
make
After making the project you can then run the program as follow
./webserv <optional config file>
ββ Makefile
ββ include/
ββ lib/
ββ config/
ββ src/
ββ LICESNE
This project is licensed under the MIT License - see the LICENSE file for details.