implement udn-frontend package

This commit is contained in:
marlonerler
2024-07-06 14:11:48 +02:00
parent d28b3ca986
commit 7af76e43f2
16 changed files with 1703 additions and 70 deletions
+2
View File
@@ -66,6 +66,8 @@ The port and channels are self-explanatory. For servers, you'll need to provide
# Developing
For TypeScript-based package, you can use the [udn-frontend](https://github.com/marlon-erler/udn-frontend) package to manage the connection. If you want to/need to implement this yourself, follow the instructions below.
The UDN is based on WebSockets, so you'd start by opening a WebSocket connection to a server. The only two types of messages you need to send are subscriptions and actual messages.
The possible properties of a message you need to know are: