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 headers from FileChunk
ChunkParser = ChunkParser<Response>
callback to validate chunk upload
ChunkPathCallback = String Function(FileUploadPresentationResponse presentation, FileChunk chunk)
compose request upload chunks path from on FileUploadPresentationResponse and FileChunk
PresentParser = PresentParser<Response>
callback to convert http.Response into FileUploadPresentationResponse
RestorableChunkHeadersCallback = Map<String, String> Function(FileUploadPresentationResponse presentation, FileChunk chunk)
compose request upload chunks headers from FileUploadPresentationResponse and FileChunk
StatusHeadersCallback = Map<String, String> Function(FileUploadPresentationResponse presentation)
compose request status headers from FileUploadPresentationResponse
StatusParser = StatusParser<Response>
callback to convert http.Response into FileUploadStatusResponse
StatusPathCallback = String Function(FileUploadPresentationResponse presentation)
compose request status path from on FileUploadPresentationResponse