258259260261262263264
* @param timeUnit The unit of the timeout. * * @return The RequestSocketTimeout instance. */ public static AnyRequestModifier withSocketTimeout(int timeout, TimeUnit timeUnit) { return new RequestSocketTimeout(timeUnit.toMillis(timeout)); }