HttpFileHandler class
HttpFileHandler handle the file upload using the http.Client
- Inheritance
-
- Object
- SocketFileHandler<
Response> - HttpFileHandler
Constructors
Properties
- body → String?
-
request
bodyfinalinherited - file → XFile
-
file to handle
finalinherited
- fileKey → String
-
request key for file
finalinherited
-
fileParser
→ ChunkParser<
Response> -
callback to validate chunk upload
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
-
headers
→ Map<
String, String> ? -
request
headersfinalinherited - method → String
-
request
method, default toPOSTfinalinherited - path → String
-
request
pathfinalinherited - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
upload(
{ProgressCallback? onProgress}) → Future< void> - Method for uploading the entire file.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited