我使用的是http://code.google.com/p/ksoap2-android/库,我想知道HttpTransportSE的默认超时时间是多少?使用启动它时
HttpTransportSE aht = new HttpTransportSE(WebServiceURL);发布于 2013-07-19 03:50:33
对于记录:根据GitHub source file ServiceConnection (line34),类Transport中使用的默认超时是20秒,它是HttpTransport和HttpTransportSE的基类。
发布于 2013-02-03 05:14:02
在代码的tips section中,您可以通过向所调用的方法添加更多参数来设置自己的超时时间
HttpsTransportSE transport = new HttpsTransportSE(host, port, file, timeout);其中超时是一个int。
https://stackoverflow.com/questions/14665729
复制相似问题