description |
---|
The Ctx struct represents the Context which hold the HTTP request and response. It has methods for the request query string, parameters, body, HTTP headers and so on. |
🧠 Context
- Accepts
- Append
- Attachment
- BaseURL
- Body
- BodyParser
- ClearCookie
- Cookie
- Cookies
- Download
- Fasthttp
- Error
- Format
- FormFile
- FormValue
- Fresh
- Get
- Hostname
- IP
- IPs
- Is
- JSON
- JSONP
- Links
- Locals
- Location
- Method
- MultipartForm
- Next
- OriginalURL
- Params
- Path
- Protocol
- Query
- Range
- Redirect
- Render
- Route
- SaveFile
- Secure
- Send
- SendFile
- SendStatus
- Set
- Stale
- Status
- Subdomains
- Type
- Vary
- Write
- XHR