SecurityOrigin.getHost

Gets the hostname of origin.

It is reasonable for this to be null if its protocol does not require a host component.

class SecurityOrigin
string
getHost
()

Return Value

Type: string

The host of the #WebKitSecurityOrigin