Request

Request return the *fasthttp.Request pointer

Signature

  1. func (c *Ctx) Request() *fasthttp.Request

Example

  1. app.Get("/", func(c *fiber.Ctx) error {
  2. c.Request().Header.Method()
  3. // => []byte("GET")
  4. })