Http4 class

Inheritance

Constructors

Http4()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

delete(String url, {Map<String, dynamic> body = const {}, Map<String, String> headers = const {}, Map<String, dynamic> params = const {}, List<InterceptorContract> interceptors = const [], RetryPolicy? retryPolicy}) Future<Http4Response>
override
get(String url, {Map<String, String> headers = const {}, Map<String, dynamic> params = const {}, List<InterceptorContract> interceptors = const [], RetryPolicy? retryPolicy}) Future<Http4Response>
override
multipart(String url, {required Http4Method method, Map<String, String> fields = const {}, Map<String, String> headers = const {}, List<MultipartFile> files = const [], List<InterceptorContract> interceptors = const [], RetryPolicy? retryPolicy}) Future<Http4Response>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
patch(String url, {Map<String, dynamic> body = const {}, Map<String, String> headers = const {}, Map<String, dynamic> params = const {}, List<InterceptorContract> interceptors = const [], RetryPolicy? retryPolicy}) Future<Http4Response>
override
post(String url, {Map<String, dynamic> body = const {}, Map<String, String> headers = const {}, Map<String, dynamic> params = const {}, List<InterceptorContract> interceptors = const [], RetryPolicy? retryPolicy}) Future<Http4Response>
override
put(String url, {Map<String, dynamic> body = const {}, Map<String, String> headers = const {}, Map<String, dynamic> params = const {}, List<InterceptorContract> interceptors = const [], RetryPolicy? retryPolicy}) Future<Http4Response>
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited