Std.Http.Multipart
20 public declarations
- accepting
Int -> Int -> Int -> Std.Http.Multipart.LimitsBounds a program chose.
- allNamed
&Array[Std.Http.Multipart.Part] -> Str -> Array[Std.Http.Multipart.Part]Every part sent under a field, for a form that repeated one.
- boundaryOf
Str -> Option[Str]The boundary a content type names, or nothing when it names none.
- declaredTypeOf
&Std.Http.Multipart.Part -> Option[Str]What the sender said the file is.
- explain
&Std.Http.Multipart.MultipartError -> StrWhat a refusal says.
- explainName
&Std.Http.Multipart.NameError -> StrWhat a refusal about a name says.
- field
&Array[Std.Http.Multipart.Part] -> Str -> Option[Std.Http.Multipart.Part]The part sent under a field, if the form carried one.
- fields
&Array[Std.Http.Multipart.Part] -> Array[Str]The fields a form carried, each once, in the order they arrived.
- isFile
&Std.Http.Multipart.Part -> BoolWhether a part was sent as a file rather than as a value.
- limits
Std.Http.Multipart.LimitsWhat a read accepts when nobody says otherwise.
- Limits
How much a read will accept.
- MultipartError
Why a body could not be read.
- NameError
Why a name cannot be written to disk.
- Part
One thing a form carried.
- read
&Bytes -> Str -> &Std.Http.Multipart.Limits -> Result[Array[Std.Http.Multipart.Part], Std.Http.Multipart.MultipartError]The parts a body carried.
- safeName
&Std.Http.Multipart.Part -> Result[Str, Std.Http.Multipart.NameError]A name safe to write to disk, or the reason there is none.
- safeNameOf
Str -> Result[Str, Std.Http.Multipart.NameError]The same, for a name a caller already holds.
- senderName
&Std.Http.Multipart.Part -> Option[Str]What the sender called the file.
- sizeOf
&Std.Http.Multipart.Part -> IntHow large a part is.
- textOf
&Std.Http.Multipart.Part -> Option[Str]A part's content as text, for the fields that are text.
