eticon_api library
Eticon API is a handy and simple package for handling http requests.
Classes
- Api
- CancelToken
-
Controls cancellation of
Dio
's requests. - FormData
- A class to create readable "multipart/form-data" streams. It can be used to submit forms and file uploads to http server.
- Headers
- The headers class for requests and responses.
- MultipartFile
-
A file to be uploaded as part of a
MultipartRequest
. This doesn't need to correspond to a physical file. - OldApi
-
Response<
T> - The Response class contains the payload (could be transformed) that respond from the request, and other information of the response.
Enums
Typedefs
-
HeaderForEachCallback
= void Function(String name, List<
String> values) - The signature that iterates header fields.
Exceptions / Errors
- APIException
- ApiException class show http error