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 5858import org .apache .http .impl .client .DefaultHttpClient ;
5959import org .apache .http .impl .conn .tsccm .ThreadSafeClientConnManager ;
6060import org .apache .http .params .BasicHttpParams ;
61+ import org .apache .http .params .HttpParams ;
6162import org .apache .http .params .HttpConnectionParams ;
6263import org .apache .http .params .HttpProtocolParams ;
6364import org .apache .http .protocol .BasicHttpContext ;
@@ -205,7 +206,7 @@ public void setUserAgent(String userAgent) {
205206 * @param timeout the connect/socket timeout in milliseconds
206207 */
207208 public void setTimeout (int timeout ){
208- final BasicHttpParams httpParams = this .httpClient .getParams ();
209+ final HttpParams httpParams = this .httpClient .getParams ();
209210 ConnManagerParams .setTimeout (httpParams , timeout );
210211 HttpConnectionParams .setSoTimeout (httpParams , timeout );
211212 HttpConnectionParams .setConnectionTimeout (httpParams , timeout );
You can’t perform that action at this time.
0 commit comments