fiber/docs/api
nickajacks1 64c1771c26
🔥 Feature: Add Req and Res API (#2894)
* 🔥 feat: add Req and Res interfaces

Split the existing Ctx API into two separate APIs for Requests and
Responses. There are two goals to this change:

1. Reduce cognitive load by making it more obvious whether a Ctx method
   interacts with the request or the response.
2. Increase API parity with Express.

* fix(req,res): several issues

* Sprinkle in calls to Req() and Res() to a few unit tests
* Fix improper initialization caught by ^
* Add a few missing methods

* docs: organize Ctx methods by request and response

* feat(req,res): sync more missed methods

---------

Co-authored-by: Juan Calderon-Perez <835733+gaby@users.noreply.github.com>
2025-03-05 08:01:43 +01:00
..
_category_.json [v3 Maintenance]: Consolidate and Document Core Changes in v3 (#2934) 2024-04-23 08:18:19 +02:00
app.md 🐛 bug: Fix handler order in routing (#3321) 2025-02-24 08:14:19 +01:00
bind.md bind: add support for multipart file binding (#3309) 2025-02-25 19:45:19 +01:00
constants.md Update constants.md documentation 2024-12-01 13:17:38 +01:00
ctx.md 🔥 Feature: Add Req and Res API (#2894) 2025-03-05 08:01:43 +01:00
fiber.md 🔥 feat: Improve and Optimize ShutdownWithContext Func (#3162) 2025-02-22 17:32:51 +01:00
hooks.md 🔥 feat: Improve and Optimize ShutdownWithContext Func (#3162) 2025-02-22 17:32:51 +01:00
log.md 🔥 Feature: Add AllLogger to Config (#3153) 2024-12-01 13:32:52 +01:00
redirect.md 📚 Doc: Updates to API documentation and README (#3205) 2024-11-16 15:24:14 +01:00