Click the Castor logo or press Ctrl Alt T to change theme.
# Documentation Welcome to the Castor HTTP documentation. These pages cover every component in the library, from creating your first request to building server-side handlers. ## How this documentation is organised The documentation is split into three sections: **Introduction** covers installation and a quick tour of the library. If you are new to Castor HTTP, start here. **Core Concepts** walks through the fundamental building blocks: requests, responses, headers, methods, status codes, and protocol versions. Each page explains the design rationale before showing you the API. **Advanced** covers cookies, the handler and response-writer pattern, and the error types the library provides. ## Conventions Code examples use fully qualified imports so you can see exactly which class is being used. In your own code, you would typically add `use` statements at the top of your file and refer to short names. When a method returns `null` for a missing value, the documentation says so explicitly. The library avoids exceptions for expected "not found" scenarios and reserves exceptions for genuine errors.
Castor ecosystem