mirror of
https://github.com/gofiber/fiber.git
synced 2025-05-30 19:33:01 +00:00
Update ctx.md
Add hint for references to GetReqHeaders
This commit is contained in:
parent
3b08646abf
commit
c0116f445f
@ -532,6 +532,9 @@ Returns the HTTP request headers.
|
||||
func (c *Ctx) GetReqHeaders() map[string]string
|
||||
```
|
||||
|
||||
> _Returned value is only valid within the handler. Do not store any references.
|
||||
> Make copies or use the_ [_**`Immutable`**_](ctx.md) _setting instead._ [_Read more..._](../#zero-allocation)
|
||||
|
||||
## GetRespHeader
|
||||
|
||||
Returns the HTTP response header specified by the field.
|
||||
|
Loading…
x
Reference in New Issue
Block a user