Generate server-rendered pages and routes on demand with an adapter.| Docs
When rendering a page, Astro provides a runtime API specific to the current render. This includes useful information such as the current page URL as well as APIs to perform actions like redirecting to another page.| Docs