oscartbeaumont / httpz

Code once, support every Rust webserver!
MIT License
28 stars 4 forks source link

URL prefix handling #17

Closed oscartbeaumont closed 1 year ago

oscartbeaumont commented 1 year ago

A common issue when using rspc is dealing with the URL prefix for a wildcard route. Eg. An endpoint mounted at /rspc/* should be easily able to extract the wildcard bit without the user needing to specify it.

Axum kinda have a solution with .nest but this library probs needs something more generic?