1.6.2beta2的xmlhttprequest的timeout好使么?设置了timeout=3000,访问了一个不可达的url,没有响应
creator模拟器报错如下:
In the constructor of HttpClient!
Response failed, error buffer: 找不到使用指定主机名的服务器
iOS真机无响应。
应该怎么设置xhr呢,当测试不可访问的url的时候?
@dumganhar 可以帮忙看看么
写个onerror事件可以了
1.6.2beta2的xmlhttprequest的timeout好使么?设置了timeout=3000,访问了一个不可达的url,没有响应
creator模拟器报错如下:
In the constructor of HttpClient!
Response failed, error buffer: 找不到使用指定主机名的服务器
iOS真机无响应。
应该怎么设置xhr呢,当测试不可访问的url的时候?
@dumganhar 可以帮忙看看么
写个onerror事件可以了