http_worker library

Support for doing something awesome.

More dartdocs go here.

Classes

HttpWorker<K>
This is the base class for all the workers that process the requests. This can be extended to create your own implementation for processing requests.
Parser<T>
Extend this class to create your own Parser.
Response<D>
This class contains the response details of a request This includes the status of the response The data or the parsed body of the response The error if the request failed or the parsing failed and hasError which is true if the error is not null and isCancelled which is true if the request was cancelled by the user. If the request gets cancelled by the user, the data and error will be null, and the status will be -1.

Extensions

Str on RequestMethod