pub fn serve(port: Int, handler: fn( HandlerMessage, #(Socket, Nil), ) -> Next(#(Socket, Nil))) -> Result(Nil, StartError)
Helper that wraps the glisten.serve with no state. If you want to just write HTTP handler(s), this is what you want
glisten.serve