# yii\inertia\web

> 2 classes of the yii\inertia\web namespace.

[API reference](/docs/api/index.md) › [Inertia](/docs/extensions/inertia/reference/index.md) › web

## Classes

| Class | Summary |
| --- | --- |
| [`Controller`](/docs/extensions/inertia/reference/web/controller/index.md) abstract | Base controller for Inertia-driven pages. |
| [`Request`](/docs/extensions/inertia/reference/web/request/index.md) | Configures CSRF protection for Inertia applications using the cookie-to-header pattern. |