Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-01-28 | New routing | Loïc Hoguin | |
Ultimately few things change, it's mostly just a nicer syntax and slightly different expectations. The name of the value `dispatch` did not change, because the previous dispatch values will now fail if the code is not updated to using `cowboy_router:compile/1`. No constraints have been implemented in this commit. | |||
2013-01-03 | Add middleware support | Loïc Hoguin | |
Middlewares allow customizing the request processing. All existing Cowboy project are incompatible with this commit. You need to change `{dispatch, Dispatch}` in the protocol options to `{env, [{dispatch, Dispatch}]}` to fix your code. |