Hook

List of the core hooks and what they do.

List of the core application hooks execution in order. Some also come from the built-in extensions. If the extension is removed, the hooks associated with it will stop working as well:

↓
├── set ↓
├── get ↓
│   └── route ↓
│       ├── route.page ↓
│       └── content ↓
│           ├── enter ↓
│           ├── body ↓
│           ├── head ↓
│           └── exit ↓
└── let ↓
    └── exit ↓

body

Modifies the body part of the current HTML response.

content

Modifies the current HTML response.

enter

Modifies the current HTTP response headers.

exit

Fires after script execution ends.

get

Fires when the application is ready.

head

Modifies the head part of the current HTML response.

let

Fires when the application finishes rendering.

set

Fires when the application is ready.