Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions docs/provider/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,7 @@ tableOfContents: true
## Usage

There is not much required to set up the provider, a simple example can be found in [Getting started](/getting-started#frontend)

### Sharing a websocket between providers

You can share a `HocuspocusProviderWebsocket` instance between several `HocuspocusProviders` by passing `websocketProvider` instead of `url` when configuring the provider. If you do that, you need to call `.attach()` manually on the provider once you want it to attach and start syncing.