Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

multiple kemals #441

Open
kostya opened this issue Mar 29, 2018 · 1 comment
Open

multiple kemals #441

kostya opened this issue Mar 29, 2018 · 1 comment

Comments

@kostya
Copy link

kostya commented Mar 29, 2018

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
@sdogruyol
Copy link
Member

See, this is an ongoing effort at #378

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants