Fasthttp
You can still access and use all Fasthttp methods and properties.
Signature
Please read the Fasthttp Documentation for more information.Example
- app.Get("/", func(c *fiber.Ctx) {
- c.Fasthttp.Request.Header.Method()
- // => []byte("GET")
- c.Fasthttp.Response.Write([]byte("Hello, World!"))
- // => "Hello, World!"
- })