Skip to content

Commit dba49bf

Browse files
committed
formatting
1 parent a131e37 commit dba49bf

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

docs/recipes/network.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,11 @@ rrweb.record({
5656
All options are described below:
5757
| key | default | description |
5858
| ---------------- | --------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
59-
| initiatorTypes | ['fetch','xmlhttprequest','img',...] | Default value contains names of all [initiator types](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceResourceTiming/initiatorType). You can override it by setting the types you need. |
60-
| ignoreRequestFn | () => false | Block recording events for specific requests |
61-
| recordHeaders | false | Record the request & response headers for `fetch` and `xmlhttprequest` requests |
62-
| recordBody | false | Record the request & response bodies for `fetch` and `xmlhttprequest` requests |
63-
| recordInitialRequests | false | Record an event for all requests prior to rrweb.record() being called |
59+
| initiatorTypes | `['fetch','xmlhttprequest','img',...]` | Default value contains names of all [initiator types](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceResourceTiming/initiatorType). You can override it by setting the types you need. |
60+
| ignoreRequestFn | `() => false` | Block recording events for specific requests |
61+
| recordHeaders | `false` | Record the request & response headers for `fetch` and `xmlhttprequest` requests |
62+
| recordBody | `false` | Record the request & response bodies for `fetch` and `xmlhttprequest` requests |
63+
| recordInitialRequests | `false` | Record an event for all requests prior to rrweb.record() being called |
6464

6565
## replay network
6666

@@ -86,9 +86,9 @@ replayer.play();
8686

8787
Description of replay option is as follows:
8888

89-
| key | default | description |
90-
| ------------- | --------- | ------------------------------------------------------------------------------------------ |
91-
| onNetworkData | undefined | You could use this interface to replay the network requests in a simulated browser console |
89+
| key | default | description |
90+
| ------------- | ----------- | ------------------------------------------------------------------------------------------ |
91+
| onNetworkData | `undefined` | You could use this interface to replay the network requests in a simulated browser console |
9292

9393
## technical implementation
9494

0 commit comments

Comments
 (0)