IntroductionChangelogsJavaFebruary 14, 20240.8.1 (feat): The RequestOptions object now supports configuring an optional timeout to apply per-request. 1RequestOptions ro = RequestOptions.builder().timeout(90).build(); // Creates a timeout of 90 seconds for the request2// You could also specify the timeunit, similar to as if you were using OkHttp directly3// RequestOptions ro = RequestOptions.builder().timeout(2, TimeUnit.MINUTES).build();4client.films.list(ro);
February 14, 20240.8.1 (feat): The RequestOptions object now supports configuring an optional timeout to apply per-request. 1RequestOptions ro = RequestOptions.builder().timeout(90).build(); // Creates a timeout of 90 seconds for the request2// You could also specify the timeunit, similar to as if you were using OkHttp directly3// RequestOptions ro = RequestOptions.builder().timeout(2, TimeUnit.MINUTES).build();4client.films.list(ro);