Router
Imports for the router, available from swift-rust/router.
Functions
notFound()— throw a 404 from a page or layoutredirect(url)— 307 redirectpermanentRedirect(url)— 308 permanent redirectrevalidatePath(path)— purge a route's cacherevalidateTag(tag)— purge tagged cache entries
Classes
NotFoundError— thrown bynotFound()RedirectError— thrown byredirect()
Types
LayoutPropsPagePropsRouteHandlerRouteHandlerContext