Write

Appends any input to the HTTP body response.

  1. c.Write(body ...interface{})
  1. app.Get("/", func(c *fiber.Ctx) {
  2. c.Write("Hello, ") // => "Hello, "
  3. c.Write([]byte("World! ")) // => "Hello, World! "
  4. c.Write(123) // => "Hello, World! 123"
  5. })