tokio-rs / tokio-service

The core `Service` trait in Tokio and support
Apache License 2.0
82 stars 19 forks source link

Add Filter abstraction #28

Closed DustinByfuglien closed 6 years ago

DustinByfuglien commented 6 years ago

I think adding a Filter abstraction may be useful.

carllerche commented 6 years ago

@DustinByfuglien I would suggest that you file issues in Tower. This will be the next iteration of the Service abstraction.

That said, we aren't going to be calling it "Filter", instead we will call it "Middleware" as that is more descriptive I think. https://github.com/tokio-rs/tokio-service/pull/21 offers a proposal.

DustinByfuglien commented 6 years ago

Thanks. I'll looking into