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

Implement timeout parameters for weather and location APIs #13

Open
MAKLs opened this issue Dec 4, 2018 · 0 comments
Open

Implement timeout parameters for weather and location APIs #13

MAKLs opened this issue Dec 4, 2018 · 0 comments
Labels
enhancement New feature or request

Comments

@MAKLs
Copy link
Owner

MAKLs commented Dec 4, 2018

Usage

To set a timeout, run

Get-Weather -TimeOut 5

to time out in 5 seconds.

Issues

The Invoke-RestMethod cmdlet that this module utilizes does have a timeout parameter that can be leveraged, but DNS queries on the API endpoints may take longer to timeout than the user-defined timeout.

@MAKLs MAKLs added the enhancement New feature or request label Dec 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant