Skip to content

Latest commit

 

History

History
17 lines (10 loc) · 532 Bytes

README.md

File metadata and controls

17 lines (10 loc) · 532 Bytes

Multithreaded Web Server written from scratch in Kotlin

Web Server runs on top of TCP and is able to process HTTP requests like GET and HEAD

Build and start the server by supplied port number as a program argument Then you can open it in web browser at localhost:port for the main page

You can also interact with Web Server through curl.

This is how you can request home page (Assuming that server listens on port 8000):

curl localhost:8000/index.html

Alt text