Module used for retrieving date using XMLHttpRequest
- Source:
- See:
Example
Application.require('request').then(function (request) {
request()
.url('/data.json')
.response('json')
.then(function (data) {
console.log(data);
}, console.error);
}, console.error);
Returns:
- Type
- RequestModuleConstructor
Classes
Methods
(static) params-parser(value, pattern, optsopt) → {Object.<string, string>}
Parameters:
Name | Type | Attributes | Description | |||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
value |
string | |||||||||||||||||||||||||||||||||||||||||||||||
pattern |
string | |||||||||||||||||||||||||||||||||||||||||||||||
opts |
object |
<optional> |
Properties
|
Returns:
- Type
- Object.<string, string>
Type Definitions
RequestModuleConstructor() → {RequestModule}
- Source:
Returns:
- Type
- RequestModule