NetworkModule class

Inheritance

Constructors

NetworkModule(EngineContext context)

Properties

context EngineContext
finalinherited
extraFuncMap Map<String, Function>
no setteroverride
funcMap Map<String, Function>
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
moduleName String
no setteroverride
requestWillBeSentHook TRequestWillBeSentHook?
发送请求前的钩子函数
getter/setter pair
responseReceivedHook TResponseReceivedHook?
请求成功响应的钩子函数
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addListener(String name, JSPromise promise) → void
inherited
destroy() → void
inherited
fetch(VoltronMap request, JSPromise promise) bool
**
getCookie(String url, JSPromise promise) bool
**
handleAddListener(String name) → void
inherited
handleRemoveListener(String name) → void
inherited
initialize() → void
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeListener(String name, JSPromise promise) → void
inherited
setCookie(String url, String keyValue, String expires, JSPromise promise) bool
**
toString() String
A string representation of this object.
inherited

Operators

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