PSPDFKit-labs / bypass

Bypass provides a quick way to create a custom plug that can be put in place instead of an actual HTTP server to return prebaked responses to client requests.
https://hex.pm/packages/bypass
MIT License
972 stars 113 forks source link

Support for bandit instead plug_cowboy #144

Open Munksgaard opened 7 months ago

Munksgaard commented 7 months ago

Would it be possible to add support for using bandit instead of plug_cowboy for the http server? I've transitioned most of my projects to using bandit instead of cowboy, and bypass is the last thing still dragging cowboy with it as a dependency.

Perhaps we could use some form of adapter approach, like in Phoenix?

claytongentry commented 4 months ago

I built Lasso to do this. Would love if Bypass supported it. I gladly would move back over.