warp: a web framework for Rusthttp://seanmonstar.com/post/176530511587/warp …
Thanks! That's fast! ;D let me know what feels off or doesn't work (I never write bugs!)
-
-
How hard would it be to extract fixed string components from a set of filters and create a faster route dispatcher that doesn't do a bunch of individual string comparisons? (Almost certainly not the bottleneck, but still, curious how feasible that'd be with this routing.)
-
If I keep the Filter trait sealed, I think I can add a method to determine the full path matched by a filter chain, and could use that with a router. That said, with filters you can build a tree naturally, preventing matching the prefix over and over.
- 2 more replies
New conversation -
-
-
I'd love to see an example or explanation for how you plan to support https, and how filters could integrate with TLS. For instance, how would you write a filter using TLS Token Binding?
-
I've been thinking of using rustls for TLS support, since I feel a framework can be more opinionated. In that case, if it's done inside warp, then filters could be built-in to extract the session. I havent read up on token binding yet.
- 3 more replies
New conversation -
-
-
I *love* how well this integrates with type inference, so you only have to write a parameter type once.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.