implement udn-frontend package
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user