Client

Experimental

This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

A interface de Client representa um contexto executĂĄvel, tal como um Worker, ou um SharedWorker. Os Window clients sĂŁo representados pelo mais especĂ­fico WindowClient. Pode obter os objetos Client/WindowClient a partir dos mĂ©todos, tais como Clients.matchAll() e Clients.get().

MĂ©todos

Client.postMessage()
Sends a message to the client.

Propriedades

Client.id Read only
The universally unique identifier of the client as a string.
Client.type Read only
The client's type as a string. It can be "window", "worker", or "sharedworker".
Client.url Read only
The URL of the client as a string.

EspecificaçÔes

Especificação Estado Comentårio
Service Workers
The definition of 'Client' in that specification.
Working Draft Definitição inicial.

Compatibilidade de Navegador

BCD tables only load in the browser

Consulte também: