View definition

(*RequestCtx).SendFileBytes

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

Description

SendFileBytes sends local file contents from the given path as response body.

This is a shortcut to ServeFileBytes(ctx, path).

SendFileBytes logs all the errors via ctx.Logger.

See also ServeFileBytes, FSHandler and FS.

SendFileBytes is referenced in 0 repositories