module

Mint::Server

This module contains the logic to present the user with an option to run a server on a different port if the original is in use.

Instance methods

run(*, host : String = "127.0.0.1", server : HTTP::Server, port : Int32 = 3000, &callback : Proc(String, Int32, Nil))
Source