Part V — The Modern Experience Layer · Chapter 28 · New in v1.0.0-experience
Web applications with std.web
The built-in web application layer: routing, request and response helpers, validation, auth, rate limiting, security headers, static files, CORS and OpenAPI generation — without importing a framework.
1
Routing, request helpers and responses
web.app(), path params, route groups — and the request/response helpers that remove 80% of handler boilerplate.
2
Validation, auth, rate limiting and security headers
web.validate, bearer/basic/api-key auth, per-IP rate limits, ETags and the one security-headers call your responses should always include.
3
OpenAPI 3.0 generation and typed SDKs
web.openapi(app, title, version) — one call that turns your app into a spec, then generate TypeScript clients and React hooks from it.
Version note. std.web does not exist in v0.63. Everything in this chapter shipped in 1.0.0-experience. It is deliberately thin: it gives you a production-shaped HTTP surface, not a plugin ecosystem.