new

fun new(protocol: String, host: String, port: <Error class: unknown class>): SecurityOrigin

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

Return

A #WebKitSecurityOrigin.

Since

2.16

Parameters

protocol

The protocol for the new origin

host

The host for the new origin

port

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