http_file_uploader library
A en_file_uploader plugin to handle via http the file upload.
Classes
- HttpChunkedFileHandler
- HttpChunkedFileHandler handle the file upload in chunks
- HttpFileHandler
-
HttpFileHandler handle the file upload using the
http.Client - HttpRestorableChunkedFileHandler
- HttpRestorableChunkedFileHandler handle the file upload in chunk with the capability to retry the upload from the last chunk sent.
-
SocketChunkedFileHandler<
ResponseType> - A common interface for any plugin that wants to handle file uploads using a socket client.
-
SocketFileHandler<
ResponseType> - A common interface for any plugin that wants to handle file uploads using a socket client.
-
SocketRestorableChunkedFileHandler<
ResponseType> - A common interface for any plugin that wants to handle file uploads using a socket client.
Typedefs
-
ChunkHeadersCallback
= Map<
String, String> Function(FileChunk chunk) -
compose request
headersfromFileChunk -
ChunkParser
= ChunkParser<
Response> - callback to validate chunk upload
- ChunkPathCallback = String Function(FileUploadPresentationResponse presentation, FileChunk chunk)
-
compose request upload chunks
pathfrom onFileUploadPresentationResponseandFileChunk -
PresentParser
= PresentParser<
Response> -
callback to convert
http.ResponseintoFileUploadPresentationResponse -
RestorableChunkHeadersCallback
= Map<
String, String> Function(FileUploadPresentationResponse presentation, FileChunk chunk) -
compose request upload chunks
headersfromFileUploadPresentationResponseandFileChunk -
StatusHeadersCallback
= Map<
String, String> Function(FileUploadPresentationResponse presentation) -
compose request status
headersfromFileUploadPresentationResponse -
StatusParser
= StatusParser<
Response> -
callback to convert
http.ResponseintoFileUploadStatusResponse - StatusPathCallback = String Function(FileUploadPresentationResponse presentation)
-
compose request status
pathfrom onFileUploadPresentationResponse