Skip to content

Core\Http\Part

Describes a request body, or one field of a multipart body. A file part is read from disk while it is sent, so the whole file is never in memory.

Members

2 members.

MemberSignature
filefile(string $path, { filename?: string, contentType?: string }): Core\Http\Part
bytesbytes(secret tainted string|secret tainted bytes $data, string $filename, { contentType?: string }): Core\Http\Part