XhrExtension class
XHR Extension TODO: request support isolate!!!
- Inheritance
-
- Object
- JSFExtension
- XhrExtension
Constructors
- XhrExtension.new(JSFContext context, {Client? client_, CookieJar? cookieJar})
Properties
- client ↔ Client
-
getter/setter pair
- context ↔ JSFContext
-
持有 JSContext 对象
getter/setter pairinherited
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stub ↔ JSFExtension?
-
下一个扩展
getter/setter pairinherited
- timer ↔ Timer?
-
getter/setter pair
Methods
-
addInterface(
String funcName, dynamic func(dynamic args)) → bool -
代理函数,在扩展中添加 dart bridge 函数
inherited
-
chain(
JSFExtension other) → JSFExtension -
添加一个扩展到链表中
inherited
-
clear(
) → dynamic -
eval(
String script, {JSFValue? thiz, String? sourceURL, int startingLineNumber = 1}) → JSFValue -
代理函数,在扩展中执行 js 代码
inherited
-
load(
) → dynamic -
加载扩展
override
-
lookup(
Type extensionRunTimeType) → JSFExtension? -
检查是否存在指定类型的扩展
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeInterface(
String funcName) → bool -
代理函数,在扩展中移除 dart bridge 函数
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
unload(
) → dynamic -
卸载扩展
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited