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: