DefaultHttpAdapter class

Inheritance

Constructors

DefaultHttpAdapter()

Properties

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

Methods

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

Operators

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