WorkerLocation

abstract external class WorkerLocation (source)

Platform and version requirements: JS

Exposes the JavaScript WorkerLocation to Kotlin

Constructors

<init>

WorkerLocation()

Exposes the JavaScript WorkerLocation to Kotlin

Properties

hash

open val hash: String

host

open val host: String

hostname

open val hostname: String

href

open var href: String

origin

open val origin: String

pathname

open val pathname: String

port

open val port: String

protocol

open val protocol: String

search

open val search: String

Inherited Functions

equals

open operator fun equals(other: Any?): Boolean

Indicates whether some other object is "equal to" this one. Implementations must fulfil the following requirements:

hashCode

open fun hashCode(): Int

Returns a hash code value for the object. The general contract of hashCode is:

toString

open fun toString(): String

Returns a string representation of the object.