Skip to content

Commit 8ae16de

Browse files
authored
Fix parameters for Browser Protocol (#12999)
1 parent 23beabe commit 8ae16de

File tree

1 file changed

+20
-16
lines changed

1 file changed

+20
-16
lines changed

docs/en/api/browser-http-api-protocol.md

Lines changed: 20 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -66,12 +66,14 @@ Send a performance data object in JSON format. Since client-js 1.0.0, the follow
6666
Input:
6767

6868
```json
69-
{
70-
"service": "web",
71-
"serviceVersion": "v0.0.1",
72-
"pagePath": "/index.html",
73-
"inpTime": 10,
74-
}
69+
[
70+
{
71+
"service": "web",
72+
"serviceVersion": "v0.0.1",
73+
"pagePath": "/index.html",
74+
"inpTime": 10,
75+
}
76+
]
7577
```
7678

7779
OutPut:
@@ -85,16 +87,18 @@ Send a static resources data object in JSON format. Since client-js 1.0.0, the f
8587
Input:
8688

8789
```json
88-
{
89-
"service": "web",
90-
"serviceVersion": "v0.0.1",
91-
"pagePath": "/index.html",
92-
"name": "vue.js",
93-
"duration": 600,
94-
"size": 100000,
95-
"protocol": "h2",
96-
"type": "script",
97-
}
90+
[
91+
{
92+
"service": "web",
93+
"serviceVersion": "v0.0.1",
94+
"pagePath": "/index.html",
95+
"name": "vue.js",
96+
"duration": 600,
97+
"size": 100000,
98+
"protocol": "h2",
99+
"type": "script",
100+
}
101+
]
98102
```
99103

100104
OutPut:

0 commit comments

Comments
 (0)