Now that we have std.http.Server, we need a router for it
8 Likes
Some updates I made based on the needs working on backend where I use zig-router:
- Added support for non-strict path matching
- That is, you can now have route like
/object/:key
with option.strict = false
and the last path parameter will be expanded to rest of the path and the router will match it if the request starts with this path prefix, that is the path does not have to match exactly
- That is, you can now have route like
- Singleton query parameters are now supported
?thing
which maps to athing: ?void
in a schema struct
2 Likes