Response
Request return the *fasthttp.Response pointer
Signature
func (c *Ctx) Response() *fasthttp.Response
Example
app.Get("/", func(c *fiber.Ctx) error {
c.Response().Write([]byte("Hello, World!"))
// => "Hello, World!"
})
Request return the *fasthttp.Response pointer
Signature
func (c *Ctx) Response() *fasthttp.Response
Example
app.Get("/", func(c *fiber.Ctx) error {
c.Response().Write([]byte("Hello, World!"))
// => "Hello, World!"
})
本文档使用 BookStack 构建