fasthttp icon indicating copy to clipboard operation
fasthttp copied to clipboard

Issue #1699

Open Dostonlv opened this issue 3 months ago • 1 comments

Implement connection-level user value management in RequestCtx

  • Added methods to set and retrieve connection-level user values, including support for uint64 values.
  • Implemented reset functionality to clear connection user values.
  • Introduced a new example demonstrating rate limiting using connection-level user values.

Dostonlv avatar Nov 20 '25 09:11 Dostonlv

Sorry but I don't think expanding the API surface for this is a good idea. Unless you can show me some really good use case that can't be covered by using RequestCtx.ConnID() and a map.

erikdubbelboer avatar Nov 20 '25 11:11 erikdubbelboer