protocol

external val protocol: String(source)

The protocol property of a WorkerLocation object returns the protocol part of the worker's location.

MDN Reference