Skip to content

Commit

Permalink
πŸ“š Doc: Fix typos in client hooks documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
yinheli committed Sep 14, 2024
1 parent 96891c9 commit 311dc3f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/client/hooks.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
id: hooks
title: 🎣 Hooks
description: >-
Hooks are used to manipulate request/response proccess of Fiber client.
Hooks are used to manipulate request/response process of Fiber client.
sidebar_position: 4
---

Expand Down Expand Up @@ -77,7 +77,7 @@ There are also some builtin request hooks provide some functionalities for Fiber

- [parserRequestURL](https://github.com/gofiber/fiber/blob/main/client/hooks.go#L62): parserRequestURL customizes the URL according to the path params and query params. It's necessary for `PathParam` and `QueryParam` methods.

- [parserRequestHeader](https://github.com/gofiber/fiber/blob/main/client/hooks.go#L113): parserRequestHeader sets request headers, cookies, body type, referer, user agent according to client and request proeprties. It's necessary to make request header and cookiejar methods functional.
- [parserRequestHeader](https://github.com/gofiber/fiber/blob/main/client/hooks.go#L113): parserRequestHeader sets request headers, cookies, body type, referer, user agent according to client and request properties. It's necessary to make request header and cookiejar methods functional.

- [parserRequestBody](https://github.com/gofiber/fiber/blob/main/client/hooks.go#L178): parserRequestBody serializes the body automatically. It is useful for XML, JSON, form, file bodies.

Expand Down

0 comments on commit 311dc3f

Please sign in to comment.