Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add timeout support for xhr and http gateways #43

Closed
tulios opened this issue Mar 22, 2017 · 0 comments
Closed

Add timeout support for xhr and http gateways #43

tulios opened this issue Mar 22, 2017 · 0 comments

Comments

@tulios
Copy link
Owner

tulios commented Mar 22, 2017

XHR and HTTP gateways support timeout configurations, it would be nice to be able to set them through the configs object.

import { configs } from 'mappersmith'
configs.gatewayConfigs.XHR = {
  timeout: 1000
}
configs.gatewayConfigs.HTTP = {
  timeout: 1000
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant