SecurityOrigin.for_uri


Description:

[ CCode ( has_construct_function = false ) ]
public SecurityOrigin.for_uri (string uri)

Create a new security origin from the provided.

Create a new security origin from the provided URI. Components of uri other than protocol, host, and port do not affect the created SecurityOrigin.

Parameters:

uri

The URI for the new origin

Returns:

A SecurityOrigin.