Function Namespace net
Defined in: wef.net.js.
Constructor Attributes | Constructor Name and Description |
---|---|
net()
|
Field Attributes | Field Name and Description |
---|---|
<static> |
net.fn
Extension point
|
Version number
|
Method Attributes | Method Name and Description |
---|---|
ajax(url, options)
Launch a XMLHttpRequest, waiting the result
|
Field Detail
<static>
net.fn
Extension point
version
Version number
Method Detail
ajax(url, options)
Launch a XMLHttpRequest, waiting the result
- Parameters:
- url
- request url
- options Optional
- additional arguments
- {string} options.method
- request method, supports[get|post]
- {boolean} options.asynchronous
- request type, synchronous or asynchronous
- {string} options.postBody
- message, in post request
- {Function} options.success
- success callback
- {Function} options.failure