<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>http-server on Washington Botelho</title><link>http://www.wbotelhos.com/tags/http-server/</link><description>Recent content in http-server on Washington Botelho</description><generator>Hugo -- gohugo.io</generator><language>en</language><lastBuildDate>Mon, 17 Jul 2023 00:00:00 -0300</lastBuildDate><atom:link href="http://www.wbotelhos.com/tags/http-server/index.xml" rel="self" type="application/rss+xml"/><item><title>How To Create a HTTP Server With Elixir</title><link>http://www.wbotelhos.com/how-to-create-a-http-server-with-elixir/</link><pubDate>Mon, 17 Jul 2023 00:00:00 -0300</pubDate><guid>http://www.wbotelhos.com/how-to-create-a-http-server-with-elixir/</guid><description>A HTTP server receives a resquest and gives you a response. It happens through a URL plus a port like https://www.wbotelhos.com:443, when you make a request to it, it gives you my blog home page as the response. So, how can I do it using Elixir?
Goal Create a HTTP Server that listen for a request and returns a response.
The gen_tcp Module Erlang has a module called gen_tcp that makes the hard work for you.</description></item></channel></rss>