Cookies

Get cookie value by key.

Signatures

  1. c.Cookies(key string) string
  1. app.Get("/", func(c *fiber.Ctx) {
  2. // Get cookie by key:
  3. c.Cookies("name") // "john"
  4. })