HstsPolicy

class HstsPolicy(pointer: <Error class: unknown class><<Error class: unknown class>>)

#SoupHSTSPolicy implements HTTP policies, as described by RFC 6797.

Constructors

Link copied to clipboard
constructor(pointer: <Error class: unknown class><<Error class: unknown class>>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val soupHSTSPolicyPointer: <Error class: unknown class><<Error class: unknown class>>

Functions

Link copied to clipboard

Copies @policy.

Link copied to clipboard
fun equal(policy2: HstsPolicy): Boolean

Tests if @policy1 and @policy2 are equal.

Link copied to clipboard
fun free()

Frees @policy.

Link copied to clipboard

Gets @policy's domain.

Link copied to clipboard
fun getExpires(): <Error class: unknown class>

Returns the expiration date for @policy.

Link copied to clipboard
fun getMaxAge(): <Error class: unknown class>

Returns the max age for @policy.

Link copied to clipboard

Gets whether @policy include its subdomains.

Link copied to clipboard

Gets whether @policy is expired.

Link copied to clipboard

Gets whether @policy is a non-permanent, non-expirable session policy.