From 311dc3fb9286dfc16985a1031de2cfa619ff8c29 Mon Sep 17 00:00:00 2001 From: yinheli Date: Sat, 14 Sep 2024 23:36:19 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9A=20Doc:=20Fix=20typos=20in=20client?= =?UTF-8?q?=20hooks=20documentation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/client/hooks.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/client/hooks.md b/docs/client/hooks.md index 8616eac792..ccbc7d408e 100644 --- a/docs/client/hooks.md +++ b/docs/client/hooks.md @@ -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 --- @@ -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.