MultiPart
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
- MultiPart.type
Members list
Value members
Concrete methods
Reads an HTTP request and returns a stream of data as a Stream
of Headers
or Chunk[Byte]
values. Assumes
that the incoming data is in the form of an HTTP Multipart message.
Reads an HTTP request and returns a stream of data as a Stream
of Headers
or Chunk[Byte]
values. Assumes
that the incoming data is in the form of an HTTP Multipart message.
Attributes
- req
The HTTP request to read.
- Returns:
A
Stream
ofHeaders
orChunk[Byte]
values representing the data in the HTTP request.
Writes all multipart files from the incoming request data stream to the specified folder.
Writes all multipart files from the incoming request data stream to the specified folder.
Attributes
- folderPath
The path to the folder where the files should be written.
- req
The HTTP request containing the multipart data.
- Returns:
An
IO
action that writes the files to disk.