kemal
kemal copied to clipboard
multiple kemals
would be nice if there was a way to run multiple kemals on different ports:
like this:
class App1 < Kemal
get "/bla" do
...
end
end
class App2 < Kemal
get "/" do
...
end
end
spawn { App1.run("127.0.0.1", 3000) }
spawn { App2.run("127.0.0.1", 3001) }
sleep
See, this is an ongoing effort at https://github.com/kemalcr/kemal/pull/378