Serving Plug: Building an Elixir HTTP server from scratch
To understand how HTTP servers work, we’ll implement a minimal example of one that can run a Plug application. We’ll learn about decoding requests and encoding responses, as well as how Plug apps interact with web servers.
https://blog.appsignal.com/2019/01/22/serving-plug-building-an-elixir-http-server.html
Read next How To Get Struct Type In Elixir