Skip to content

feat: add base64 transport encoding#197

Open
tripodsan wants to merge 2 commits intoyjs:masterfrom
adobe-rnd:add-base64
Open

feat: add base64 transport encoding#197
tripodsan wants to merge 2 commits intoyjs:masterfrom
adobe-rnd:add-base64

Conversation

@tripodsan
Copy link

Some WebSocket servers, such as AWS WebSocket APIs, do not support binary data. To enable compatibility, this PR adds a new useBase64 option in the constructor options. When enabled, all document updates and awareness information are encoded as base64 strings instead of binary before sent to the websocket.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant