You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been toying with building a web interface in Kemal but I'd like it to be something that can be mounted as an HTTP::Handler inside another app, or used standalone.
I don't see anything in Wiki about:
Using kemal without includeing the DSL into the global namespace (if someone wants to add my app to the handler stack, I don't want it to patch a bunch of methods into global in their app)
Using Kemal as a sub-app or embeddable app
Is that possible at the moment? Is that something folks are interested in?
The text was updated successfully, but these errors were encountered:
This is related to #441. Previous efforts to encapsulate Kemal instances are in #378 and #511. I don't think encapsulation is strictly a requirement for this issue, but it would solve it trivially.
It might be possible to implement it in a different way, though (with less changes to the internal structure).
Description
I've been toying with building a web interface in Kemal but I'd like it to be something that can be mounted as an HTTP::Handler inside another app, or used standalone.
I don't see anything in Wiki about:
include
ing the DSL into the global namespace (if someone wants to add my app to the handler stack, I don't want it to patch a bunch of methods into global in their app)Is that possible at the moment? Is that something folks are interested in?
The text was updated successfully, but these errors were encountered: