protocol

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

MDN Reference