SecurityOrigin


Object Hierarchy:

WebKit.SecurityOrigin WebKit.SecurityOrigin WebKit.SecurityOrigin

Description:

[ CCode ( ref_function = "webkit_security_origin_ref" , type_id = "webkit_security_origin_get_type ()" , unref_function = "webkit_security_origin_unref" ) ]
[ Compact ]
[ Version ( since = "2.16" ) ]
public class SecurityOrigin

A security boundary for websites.

SecurityOrigin is a representation of a security domain defined by websites. A security origin consists of a protocol, a hostname, and an optional port number.

Resources with the same security origin can generally access each other for client-side scripting or database access. When comparing origins, beware that if both protocol and host are null, the origins should not be treated as equal.


Namespace: WebKit
Package: webkit2gtk-4.0

Content:

Creation methods:

Methods: