Is Is Returns the matching content type , if the incoming request’s Content-Type HTTP header field matches the MIME type specified by the type parameter. If the request has...
Is Is Returns the matching content type , if the incoming request’s Content-Type HTTP header field matches the MIME type specified by the type parameter. If the request has...
FormValue FormValue Any form values can be retrieved by name, the first value from the given key is returned. func ( c * Ctx ) FormValue ( key string , defaultValue ....
FormValue FormValue Any form values can be retrieved by name, the first value from the given key is returned. func ( c * Ctx ) FormValue ( key string , defaultValue ....
Download Download Transfers the file from path as an attachment . Typically, browsers will prompt the user for download. By default, the Content-Disposition header filename= ...
Get Get Returns the HTTP request header specified by the field. The match is case-insensitive . c . Get ( field string ) string app . Get ( "/" , func ( c * fiber...
SendStatus SendStatus Sets the status code and the correct status message in the body, if the response body is empty . You can find all used status codes and messages here . ...
Append Append Appends the specified value to the HTTP response header field. If the header is not already set, it creates the header with the specified value. func ( c ...
Cookies Cookies Get cookie value by key, you could pass an optional default value that will be returned if the cookie key does not exist. Signatures c . Cookies ( key strin...
Get Get Returns the HTTP request header specified by the field. The match is case-insensitive . func ( c * Ctx ) Get ( key string , defaultValue ... string ) stri...