Header returns the request header value for the given key.
(key string)
| 540 | |
| 541 | // Header returns the request header value for the given key. |
| 542 | func (c *Ctx) Header(key string) string { |
| 543 | return c.Request.Header.Get(key) |
| 544 | } |
| 545 | |
| 546 | // IP returns the client IP address, checking proxy headers first. |
| 547 | func (c *Ctx) IP() string { |