HttpCookie.HttpOnly Property

Definition

Returns true if this cookie contains the HttpOnly attribute. -or- Indicates whether the cookie should be considered HTTP Only.

public bool HttpOnly { [Android.Runtime.Register("isHttpOnly", "()Z", "", ApiSince=24)] get; [Android.Runtime.Register("setHttpOnly", "(Z)V", "", ApiSince=24)] set; }
[<get: Android.Runtime.Register("isHttpOnly", "()Z", "", ApiSince=24)>]
[<set: Android.Runtime.Register("setHttpOnly", "(Z)V", "", ApiSince=24)>]
member this.HttpOnly : bool with get, set

Property Value

Boolean

true if this cookie should be considered HTTPOnly

Attributes

Remarks

Property getter documentation:

Java documentation for java.net.HttpCookie.isHttpOnly().

Property setter documentation:

Java documentation for java.net.HttpCookie.setHttpOnly(boolean).

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