http-interop / http-middleware

PSR-15 interfaces for HTTP Middleware
MIT License
73 stars 7 forks source link

Remove empty middleware interface #12

Closed shadowhand closed 8 years ago

shadowhand commented 8 years ago

Empty middleware interface does nothing only existed as a convenience for stack/dispatch. By removing the stack interface, we no longer need the empty interface.

This also removes the need to have a "client" middleware interface. Since all "client" middleware can be used in server context, there is no need to imply that it is "client-only".

Refs #3 Fixes #11

mindplay-dk commented 8 years ago

Is this ready to merge?

I'd like to try it out on middleman and see how that pans out.

mnapoli commented 8 years ago

:+1: this is so much simpler \o/