Server
How the ZIO HTTP server is modeled as a ZIO resource, and how its lifecycle, configuration and graceful shutdown fit together.
Client
How the ZIO HTTP client works as a function from Request to Response, including connection pooling, streaming and middleware.
Routing
Why ZIO HTTP models routing as a declarative data structure, and how that differs from other Scala HTTP libraries.
Request Handling
Understanding how requests flow through a ZIO HTTP application helps you structure your code and debug issues. This page explains the request lifecycle from arrival to response.
Middleware
What middleware is in ZIO HTTP, and how it intercepts requests and responses to implement cross-cutting concerns.
Endpoint API
The Endpoint API is a declarative DSL for defining HTTP endpoints. It is a way to define a type safe API for your application.
Dev / Preprod / Prod Modes
ZIO HTTP provides a simple built-in notion of application "mode" so you can adapt behavior (e.g. enable extra diagnostics in development, stricter settings in production, other routes, different error handling) without wiring your own config keys everywhere.