Advanced part of URL for a request of all request methods (it is concatenated with the base part)
Base part of URL for a request for the "add" method
Base part of URL for a request for the "del" method
Base part of URL for a request for the "get" method
Base part of URL for a request for the "peek" method
Base part of URL for a request of all request methods
Base part of URL for a request for the "upd" method
HTTP request method for all request methods. This parameter will override other method parameters, such as "getMethod" or "delMethod".
Default HTTP request method for the "del" method
Event name for requests. Please notice that all request methods except "get", "peek" and "request" emit events by default.
List of additional data providers for the "get" method. It can be useful if you have some providers that you want combine to one.
Default HTTP request method for the "get" method
Global event emitter to broadcast provider events
Default HTTP request method for the "peek" method
URL for a socket connection
Default HTTP request method for the "upd" method
Map of data decoder sequences. The key of a map element represent a name of the provider method: 'get', 'post', etc. The value of a map element represent a sequence of decoders for the specified provider method.
Map of data encoder sequences. The key of a map element represent a name of the provider method: 'get', 'post', etc. The value of a map element represent a sequence of encoders for the specified provider method.
Sequence of middlewares that is provided to the request function. An object form is easily to extend, bur you can choose any different form.
Map of data mocks.
This object can be used with a middleware that implements API for data mocking,
for example attachMock from 'core/data/middlewares'
.
The key of a map element represent a method request type: 'GET', 'POST', etc. The value of a map element represent a list of parameters to match.
Creates a new remote request with the specified options
request path URL
request options
Returns a wrapped request constructor with the specified options. This overload helps to organize the "builder" pattern.
request options
Returns a function to create a new remote request with the specified options. This overload helps to create a factory of requests.
request path URL
function to resolve a request: it takes a request URL, request environment, and arguments from invoking the outer function and can modify some request parameters. Also, if the function returns a new string, the string will be appended to the request URL, or if the function returns a string wrapped with an array, the string fully overrides the original URL.
request options
Alias for the request function
Creates a new remote request with the specified options
request path URL
request options
Returns a wrapped request constructor with the specified options. This overload helps to organize the "builder" pattern.
request options
Returns a function to create a new remote request with the specified options. This overload helps to create a factory of requests.
request path URL
function to resolve a request: it takes a request URL, request environment, and arguments from invoking the outer function and can modify some request parameters. Also, if the function returns a new string, the string will be appended to the request URL, or if the function returns a string wrapped with an array, the string fully overrides the original URL.
request options
Finds an element from an object by the specified parameters
object to search
search parameters
Default HTTP request method for the "add" method