Skip to content

Commit c7521e6

Browse files
ya7yadaviddias
authored andcommitted
chore: update README.md
1 parent a20c944 commit c7521e6

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

README.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,11 @@ const ws2 = new WStar({ wrtc: electronWebRTC() })
5454
const WStar = require('libp2p-webrtc-star')
5555

5656
const ws = new WStar()
57+
58+
// defining maximum allowed buffer (defaults to 16kb)
59+
const ws3 = new Wstar({
60+
blockStreamSize: 64 * 1024 // 64kb
61+
})
5762
```
5863

5964
## API
@@ -94,7 +99,7 @@ Defaults:
9499
## Hosted Rendezvous Server
95100

96101
We host a signalling server at `star-signal.cloud.ipfs.team` that can be used for practical demos and experimentation, it **should not be used for apps in production**.
97-
A libp2p-webrtc-star address, using the signalling server we provide, looks like:
102+
A libp2p-webrtc-star address, using the signalling server we provide, looks like:
98103

99104
`/dns4/star-signal.cloud.ipfs.team/wss/p2p-webrtc-star/ipfs/<your-peer-id>`
100105

0 commit comments

Comments
 (0)