http-request
http-request copied to clipboard
How setting request timeout?
I would like to know how setting timetou for a request. is it connectTimeout
method?
If exceed timeout, an exception will be to throw?
Someone?
public HttpRequest connectTimeout(final int timeout)
https://github.com/kevinsawicki/http-request/blob/master/lib/src/main/java/com/github/kevinsawicki/http/HttpRequest.java#L2042-L2053
thanks @kassadin