Closed matthewmcgarvey closed 2 years ago
HTTP::Server#listen provides an overload that does exactly what we are doing on two lines.
HTTP::Server#listen
https://crystal-lang.org/api/1.0.0/HTTP/Server.html#listen(host:String,port:Int32,reuse_port:Bool=false)-instance-method
HTTP::Server#listen
provides an overload that does exactly what we are doing on two lines.https://crystal-lang.org/api/1.0.0/HTTP/Server.html#listen(host:String,port:Int32,reuse_port:Bool=false)-instance-method