Client
@native @JSType
ΒΆ4.2 Client of Service Workers 1 spec.
Value members
Concrete methods
The id attribute must return its associated service worker client's id.
The id attribute must return its associated service worker client's id.
Allows a service worker to send a message to a client (a Window, Worker, or SharedWorker). The message is received in the "message" event on navigator.serviceWorker.
Allows a service worker to send a message to a client (a Window, Worker, or SharedWorker). The message is received in the "message" event on navigator.serviceWorker.
- Value parameters:
- transfer
A sequence of objects that are transferred with the message. The ownership of these objects is given to the destination side and they are no longer usable on the sending side.