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
An upload content that is a part of 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

ResponseType

Typedefs

DioMediaType = MediaType
The type (alias) for specifying the content-type of the MultipartFile.
HeaderForEachCallback = void Function(String name, List<String> values)
The signature that iterates header fields.

Exceptions / Errors

APIException
ApiException class show http error