retry

Type: <number>
Default: 2
It sets the number of exponential backoff retries to perform under an unexpected internal browser underlayer error over the target url.
  • CLI
  • JavaScript
  • Shell
  • Python
  • Ruby
const mql = require('@microlink/mql')

const { status, data } = await mql('https://cloverapp.co', { retry: 2 })

mql.render(data)
The default value is optimized to perform the maximum number of retries during the response lifespan.