名称空间(Namespace): net

x. net

网络

名称空间

request

成员(Members)

<static> defaults

默认配置信息

方法(Methods)

<static> require()

通过Ajax方式加载样式和脚本

<static> xhr(options)

发起网络请求
参数(Parameters):
名称 类型 Argument 描述
options object <optional>
选项
可选值范围:
名称类型描述
typestringHTTP请求类型(GET|POST)
urlstring地址
dataobject数据
asyncboolean是否是异步请求