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
964 stars 111 forks source link

Support new ranch transport opts format #83

Closed michallepicki closed 5 years ago

michallepicki commented 5 years ago

closes #82

michallepicki commented 5 years ago

hold on a sec, the socket opts format needs to change as well.

michallepicki commented 5 years ago

I got this all wrong! plug_cowboy will take care of transforming the keyword list to map. https://github.com/elixir-plug/plug_cowboy/blob/master/lib/plug/cowboy.ex#L274 closing