App App Returns the *App reference so you could easily access all application settings. func ( c * Ctx ) App () * App app . Get ( "/stack" , func ( c * fiber . ...
BaseURL BaseURL Returns the base URL (protocol + host ) as a string . func ( c * Ctx ) BaseURL () string // GET https://example.com/page#chapter-1 app . Get ...
Set Set Sets the response’s HTTP header field to the specified key , value . func ( c * Ctx ) Set ( key string , val string ) app . Get ( "/" , func ( c * fiber...
Set Set Sets the response’s HTTP header field to the specified key , value . func ( c * Ctx ) Set ( key string , val string ) app . Get ( "/" , func ( c * fibe...
Method Method Contains a string corresponding to the HTTP method of the request: GET , POST , PUT and so on.Optionally, you could override the method by passing a string. c ...
Path Path Contains the path part of the request URL. Optionally, you could override the path by passing a string. c . Path ( override ... string ) string // GET htt...
Get Get Returns the HTTP request header specified by field. The match is case-insensitive . c . Get ( field string ) string app . Get ( "/" , func ( c * fiber . ...