How to change timeout for a request in okhttp
问题 In general we set timeout for the okHttp client and we use single instance of that client. So, we can't change the timeout for that client once it's generated. How to change the timeout for a particular request ?? Is there anyway to do it without creating new client?? It's very common that some calls take more time atleast 1/2 per app, which needs more timeout than others. it would be great if request can override the default timeout. 回答1: In 3.9 it is possible to set this per request in an