Methods

new RepetitiveRequests([options])

Parameter

Name Type Optional Description

options

 

Yes

Options.

Fires
module:meteoJS/repetitiveRequests#before:request
module:meteoJS/repetitiveRequests#success:request
module:meteoJS/repetitiveRequests#error:request

Properties

password  string

Password to send with request.

responseType  string

Content type of the response.

url  (undefined or string)

Current URL to make requests to.

user  string

User to send with request.

Methods

start()

Start repetitive requests. Makes immediatly the first request.

stop()

Stops repetitive requests. Events aren't triggered anymore. Even if a former request creates a response.