eticon_api library
Eticon API is a handy and simple package for handling http requests.
Classes
- Api
- CancelToken
- You can cancel a request by using a cancel token. One token can be shared with different requests. when a token's cancel method invoked, all requests with this token will be cancelled.
- FormData
- A class to create readable "multipart/form-data" streams. It can be used to submit forms and file uploads to http server.
- Headers
- MultipartFile
-
A file to be uploaded as part of a
MultipartRequest
. This doesn't need to correspond to a physical file. - OldApi
-
Response<
T> - Response describes the http Response info.
Enums
Typedefs
-
HeaderForEachCallback
= void Function(String name, List<
String> values)
Exceptions / Errors
- APIException
- ApiException class show http error