View definition

func ServeFileUncompressed

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

Description

ServeFileUncompressed returns HTTP response containing file contents from the given path.

Directory contents is returned if path points to directory.

ServeFile may be used for saving network traffic when serving files with good compression ratio.

See also RequestCtx.SendFile.

ServeFileUncompressed is referenced in 1 repository

github.com/valyala/fasthttp