View definition

(*RequestCtx).SetBody

Defined in github.com/valyala/fasthttp/server.go

Description

SetBody sets response body to the given value.

It is safe re-using body argument after the function returns.

SetBody is referenced in 2 repositories

github.com/valyala/fasthttp github.com/gavv/httpexpect