3 Commits

Author SHA1 Message Date
Juan Calderon-Perez
8112318448
🧹 chore: Fix AcceptsLanguages() RFC compliance (#3672) 2025-08-11 15:09:51 +02:00
Giovanni Rivera
2a01f970d8
🔥 feat: Add support for embedded Koa-Style Req and Res structs (#3533) 2025-07-29 09:42:39 +02:00
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