HttpClient
from 提供了各种要配置的“超时”,其中两个让我有点困惑:
This is time that takes to receive a response after sending a request
Raises a ReadTimeoutException when no data was read within a certain period of time
有人可以解释一下它们之间的主要区别吗?
通用场景 - 使用 spring reactive 进行调用,它在幕后WebClient
使用:HttpClient
ChannelOption.CONNECT_TIMEOUT_MILLIS
ReadTimeoutHandler
我是对的吗?