SecurityOrigin.this

Create a new security origin from the provided protocol, host and port.

  1. this(WebKitSecurityOrigin* webKitSecurityOrigin, bool ownedRef)
  2. this(string protocol, string host, ushort port)
    class SecurityOrigin
    this
    (
    string protocol
    ,
    string host
    ,
    ushort port
    )
  3. this(string uri)

Parameters

protocol string

The protocol for the new origin

host string

The host for the new origin

port ushort

The port number for the new origin, or 0 to indicate the default port for @protocol

Return Value

A #WebKitSecurityOrigin.

Throws

ConstructionException GTK+ fails to create the object.

Meta

Since

2.16