HttpConnection.setReadTimeoutMillis(int timeout) 方法

定义

Sets the read timeout in milliseconds. The read timeout is the number of milliseconds after the server receives a request and before the server sends data back.

public void setReadTimeoutMillis(int timeout)

参数

timeout
int

The read timeout.

适用于