Create a new security origin from the provided protocol, host and port.
Gets the hostname of origin.
Gets the port of origin.
Gets the protocol of origin.
Returns this, for use in with statements.
Gets a string representation of origin.
Create a new security origin from the provided.
Pointer to the C boxed value
Get the GType of this boxed type.
Boxed GType property.
Convenience method to return this cast to a type. For use in D with statements.
Make a copy of the wrapped C boxed data.
Copy a C boxed value using g_boxed_copy.
Free a C boxed value using g_boxed_free.
A security boundary for websites.
#WebKitSecurityOrigin 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.