-
Notifications
You must be signed in to change notification settings - Fork 0
/
Client.json
41 lines (41 loc) · 1.35 KB
/
Client.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{
"name": "Client",
"description": "",
"members": [
{
"name": "Client.postMessage()",
"link": "/en-US/docs/Web/API/Client/postMessage",
"description": "Allows a service worker to send a message to a ServiceWorkerClient.",
"parameters": [
{
"name": "message",
"description": "The message to send to the service worker."
},
{
"name": "transfer Optional",
"description": "A transferable object such as, for example, a reference to a port."
}
]
},
{
"name": "Client.frameType",
"link": "/en-US/docs/Web/API/Client/frameType",
"description": "Indicates the type of browsing context of the current client. This value can be one of auxiliary, top-level, nested, or none."
},
{
"name": "Client.id",
"link": "/en-US/docs/Web/API/Client/id",
"description": "Returns the universally unique identifier of the Client object."
},
{
"name": "Client.type",
"link": "/en-US/docs/Web/API/Client/type",
"description": "Indicates the type of client the service worker is controlling. Its value can be window, worker, sharedworker, or all."
},
{
"name": "Client.url",
"link": "/en-US/docs/Web/API/Client/url",
"description": "The URL of the current service worker client."
}
]
}