AjanuwHttp class

Constructors

AjanuwHttp()

Properties

config AjanuwHttpConfig
默认配置
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
interceptors List<AjanuwHttpInterceptors>
所有拦截器
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

delete(dynamic url, [AjanuwHttpConfig? config]) Future<Response>
deleteStream(dynamic url, [AjanuwHttpConfig? config]) Future<StreamedResponse>
get(dynamic url, [AjanuwHttpConfig? config]) Future<Response>
getStream(dynamic url, [AjanuwHttpConfig? config]) Future<StreamedResponse>
headStream(dynamic url, [AjanuwHttpConfig? config]) Future<StreamedResponse>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
patch(dynamic url, [AjanuwHttpConfig? config]) Future<Response>
patchStream(dynamic url, [AjanuwHttpConfig? config]) Future<StreamedResponse>
post(dynamic url, [AjanuwHttpConfig? config]) Future<Response>
postStream(dynamic url, [AjanuwHttpConfig? config]) Future<StreamedResponse>
put(dynamic url, [AjanuwHttpConfig? config]) Future<Response>
putStream(dynamic url, [AjanuwHttpConfig? config]) Future<StreamedResponse>
read(dynamic url, [AjanuwHttpConfig? config]) Future<String>
readBytes(dynamic url, [AjanuwHttpConfig? config]) Future<Uint8List>
request(AjanuwHttpConfig config) Future<Response>
requestStream(AjanuwHttpConfig config) Future<StreamedResponse>
toString() String
A string representation of this object.
inherited

Operators

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