Class

WKSecurityOrigin

A WKSecurityOrigin object consists of a host name, a protocol, and a port number. A first-party load is any load URL has the same security origin as the requesting web site. First-party webpages can access each other’s resources such as scripts and databases.

Declaration

class WKSecurityOrigin : NSObject

Overview

An instance of this class is a transient, data-only object; it does not uniquely identify a security origin across multiple delegate method calls.

Topics

Inspecting Security Origins

var host: String

The security origin’s host.

var port: Int

The security origin's port.

var `protocol`: String

The security origin's protocol.

Relationships

Inherits From

Conforms To