Skip to content

Commit

Permalink
Update docs/client/hooks.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ReneWerner87 authored Dec 16, 2024
1 parent c7be064 commit 8f00efb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/client/hooks.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,9 @@ Fiber provides some built-in request hooks:
- **parserRequestHeader**: Sets request headers, cookies, content type, referer, and user agent based on client and request properties.
- **parserRequestBody**: Automatically serializes the request body (JSON, XML, form, file uploads, etc.).

:::info
If any request hook returns an error, the request is interrupted and the error is returned immediately.
:::

**Example with Multiple Hooks:**

Expand Down

0 comments on commit 8f00efb

Please sign in to comment.