module Mint::Server

Overview

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.

Extended Modules

Defined in:

utils/server.cr

Instance Method Summary

Instance Method Detail

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

[View source]