语言

UrlRequest.Status.WaitingForAvailableSocket 字段

定义

注意

This constant will be removed in the future version. Use Android.Net.Http.UrlRequestStatus enum directly instead of this field.

当套接字池组达到每个组允许的最大套接字数时,将针对没有套接字的所有请求返回此状态,但与挂起的新连接相对应的请求除外。

[Android.Runtime.Register("WAITING_FOR_AVAILABLE_SOCKET", ApiSince=34)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Net.Http.UrlRequestStatus enum directly instead of this field.", true)]
public const Android.Net.Http.UrlRequestStatus WaitingForAvailableSocket = 2;
[<Android.Runtime.Register("WAITING_FOR_AVAILABLE_SOCKET", ApiSince=34)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Net.Http.UrlRequestStatus enum directly instead of this field.", true)>]
val mutable WaitingForAvailableSocket : Android.Net.Http.UrlRequestStatus

字段值

Value = 2
特性

注解

当套接字池组达到每个组允许的最大套接字数时,将针对没有套接字的所有请求返回此状态,但与挂起的新连接相对应的请求除外。

Java文档android.net.http.UrlRequest.Status.WAITING_FOR_AVAILABLE_SOCKET。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于