什么是默认的超时HttpTransportSE的? [英] what is the default time out of HttpTransportSE?

查看:338
本文介绍了什么是默认的超时HttpTransportSE的?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用 HTTP://$c$c.google.com/p / ksoap2-的Andr​​oid / 库,我想知道
什么是默认的超时HttpTransportSE的?
与启动时,它

  HttpTransportSE AHT =新HttpTransportSE(WebServiceURL);


解决方案

有关记录:根据<一个href=\"https://github.com/mosabua/ksoap2-android/blob/master/ksoap2-base/src/main/java/org/ksoap2/transport/ServiceConnection.java#L34\"相对=nofollow> GitHub的源文件ServiceConnection(line34),在类运输使用的默认超时 - 这是HttpTransport和HttpTransportSE基类 - 是20秒

I use http://code.google.com/p/ksoap2-android/ library and I want to know What is the default time out of HttpTransportSE ? when initiating it with

HttpTransportSE aht = new HttpTransportSE(WebServiceURL);

解决方案

For the record: according to the GitHub source file ServiceConnection (line34), the default timeout used in the class Transport - which is the base class for HttpTransport and HttpTransportSE - is 20 seconds.

这篇关于什么是默认的超时HttpTransportSE的?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆