Partager via


UrlRequest.Status.WaitingForAvailableSocket Field

Definition

Caution

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

When a socket pool group has reached the maximum number of sockets allowed per group, this state is returned for all requests that don't have a socket, except those that correspond to a pending new connection.

[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

Field Value

Value = 2
Attributes

Remarks

When a socket pool group has reached the maximum number of sockets allowed per group, this state is returned for all requests that don't have a socket, except those that correspond to a pending new connection.

Java documentation for android.net.http.UrlRequest.Status.WAITING_FOR_AVAILABLE_SOCKET.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to