XHRConnectionlink
Creates connections using XMLHttpRequest
. Given a fully-qualified request, an XHRConnection
will immediately create an XMLHttpRequest
object and send the request.
弃用说明
说明
This class would typically not be created or interacted with directly inside applications, though the MockConnection
may be interacted with in tests.
构造函数
参数
|
属性
属性名 | 类型 | 说明 |
---|---|---|
request | ||
response | Response | |
readyState |
方法
参数
|