MCPcopy
hub / github.com/gofiber/fiber / FormFile

Method FormFile

req_interface_gen.go:57–57  ·  view source on GitHub ↗

FormFile returns the first file by key from a MultipartForm. The multipart form is parsed using the application's BodyLimit to prevent unbounded memory usage.

(key string)

Source from the content-addressed store, hash-verified

55 // The multipart form is parsed using the application's BodyLimit to prevent
56 // unbounded memory usage.
57 FormFile(key string) (*multipart.FileHeader, error)
58 // FormValue returns the first value by key from a MultipartForm.
59 // Search is performed in QueryArgs, PostArgs, MultipartForm and FormFile in this particular order.
60 // Defaults to the empty string "" if the form value doesn't exist.

Callers 7

FormFileMethod · 0.65
Test_Ctx_FormFileFunction · 0.65
Test_Ctx_SaveFileFunction · 0.65

Implementers 1

Calls

no outgoing calls