HttpConnection.setConnectTimeoutMillis(int timeout) 方法

定义

Sets the connect timeout in milliseconds. The connect timeout is the allowed amount of time for the http connection to be established.

public void setConnectTimeoutMillis(int timeout)

参数

timeout
int

The connect timeout.

适用于