Język

ICookie.GetPorts Method

Definition

Get the Port attribute.

[Android.Runtime.Register("getPorts", "()[I", "GetGetPortsHandler:Org.Apache.Http.Cookies.ICookieInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public int[]? GetPorts();
[<Android.Runtime.Register("getPorts", "()[I", "GetGetPortsHandler:Org.Apache.Http.Cookies.ICookieInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member GetPorts : unit -> int[]

Returns

Int32[]

The cookie's port array, or null if no port array is set. Under RFC 2965, when the Port attribute is present, the request port must be in this array; a null or empty array does not match any port.

Attributes

Remarks

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