Cookie sets a cookie by passing a cookie struct.
(cookie *Cookie)
| 26 | RequestCtx() *fasthttp.RequestCtx |
| 27 | // Cookie sets a cookie by passing a cookie struct. |
| 28 | Cookie(cookie *Cookie) |
| 29 | // Download transfers the file from path as an attachment. |
| 30 | // Typically, browsers will prompt the user for download. |
| 31 | // By default, the Content-Disposition header filename= parameter is the filepath (this typically appears in the browser dialog). |
no outgoing calls