File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
src/com/loopj/android/http Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 58
58
import org .apache .http .impl .client .DefaultHttpClient ;
59
59
import org .apache .http .impl .conn .tsccm .ThreadSafeClientConnManager ;
60
60
import org .apache .http .params .BasicHttpParams ;
61
+ import org .apache .http .params .HttpParams ;
61
62
import org .apache .http .params .HttpConnectionParams ;
62
63
import org .apache .http .params .HttpProtocolParams ;
63
64
import org .apache .http .protocol .BasicHttpContext ;
@@ -205,7 +206,7 @@ public void setUserAgent(String userAgent) {
205
206
* @param timeout the connect/socket timeout in milliseconds
206
207
*/
207
208
public void setTimeout (int timeout ){
208
- final BasicHttpParams httpParams = this .httpClient .getParams ();
209
+ final HttpParams httpParams = this .httpClient .getParams ();
209
210
ConnManagerParams .setTimeout (httpParams , timeout );
210
211
HttpConnectionParams .setSoTimeout (httpParams , timeout );
211
212
HttpConnectionParams .setConnectionTimeout (httpParams , timeout );
You can’t perform that action at this time.
0 commit comments