I have a somewhat rich python application and do not want to restructure it just for the sake of exposing some http end-points. I simply want to expose them via a set of threads that listen via http on those ports.
There are a couple of questions that are pertinent: but they are quite old and are not exactly what I am looking for:
What would be a "modern" approach and that would involve simply kicking off threads - or even better entries from a threadpool
- for incorporating twisted
into the existing application?