VoltronHttpAdapter class abstract

Mixed-in types
Implementers

Constructors

VoltronHttpAdapter()

Properties

context EngineContext?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
requestWillBeSentHook TRequestWillBeSentHook?
getter/setter pair
responseReceivedHook TResponseReceivedHook?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

callAfterResponseReceive(VoltronHttpRequest request, VoltronHttpResponse response) → void
callBeforeRequestSend(VoltronHttpRequest request) → void
destroy() → void
override
doFetch(VoltronMap requestParams, JSPromise promise) → void
generateHttpRequest(VoltronMap request) Future<VoltronHttpRequest>
construct http request object
getCookie(String url, JSPromise promise) → void
init({required EngineContext context, TRequestWillBeSentHook? requestWillBeSentHook, TResponseReceivedHook? responseReceivedHook}) → void
normalizeResponseHeader(Map<String, List<String>> resHeaderMap) Map<String, String>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onFailed(VoltronHttpRequest httpRequest, VoltronHttpResponse httpResponse, JSPromise promise) → void
fail callback
onSuccess(VoltronHttpRequest request, VoltronHttpResponse response, JSPromise promise) → void
success callback
sendRequest(VoltronHttpRequest request) Future<VoltronHttpResponse>
send request
setCookie(String url, String keyValue, String expires, JSPromise promise) → void
toString() String
A string representation of this object.
inherited

Operators

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