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

Added Http timeout #92

Closed
wants to merge 1 commit into from
Closed

Added Http timeout #92

wants to merge 1 commit into from

Conversation

skiyo
Copy link

@skiyo skiyo commented Dec 3, 2014

Useage:
HttpRequest.TIMEOUT_CONNECT = 1000;
HttpRequest.TIMEOUT_READ = 1000;
HttpRequest request = HttpRequest.post(url);
System.out.println(request.ok());

add http timeout
@skiyo skiyo changed the title add http timeout Added Http timeout Dec 3, 2014
@kevinsawicki
Copy link
Owner

There are already methods to set this on a per connection basis (connectTimeout and readTimeout), I'd prefer not to make this global state driven.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants