I would like to suggest adding a requestHandler object to export which would allow you to mount the application on any compatible request handler. My implementation used a sort of promise object and basically copied the httpd method. It seems like it shouldn't have to be a promise object, but this is how it ended up. It could also be sent in the callback and then you would just call it in your code.
I would like to suggest adding a requestHandler object to export which would allow you to mount the application on any compatible request handler. My implementation used a sort of promise object and basically copied the httpd method. It seems like it shouldn't have to be a promise object, but this is how it ended up. It could also be sent in the callback and then you would just call it in your code.