-
If I understand [this spec](https://html.spec.whatwg.org/multipage/comms.html#the-websocket-interface:concept-websocket-establish) correctly, then messages that arrive before the `onmessage` event han…
dbrgn updated
8 years ago
-
See: https://github.com/saltyrtc/saltyrtc-meta/blob/56e44085f9b984ee7dc590510d4a46f06fa54c6c/Protocol.md#new-initiator
-
The [protocol](https://github.com/saltyrtc/saltyrtc-meta/blob/master/Protocol.md) requires the usage of a specific nonce. Furthermore, we must ensure that the nonce is valid: saltyrtc/saltyrtc-meta#10…
-
As discussed in saltyrtc/saltyrtc-meta#34
``` typescript
interface Event {
type: string,
data: any,
}
type EventHandler = (ev: Event) => boolean | void;
// Register an event handler
on(even…
dbrgn updated
8 years ago
-
-------------------------------
✈️ **This is the flight deck for the [Integrate npm](https://github.com/orgs/gratipay/projects/5?fullscreen=true.) project.** ✈️
-------------------------------…
-
Should the sequence number be incremented globally, per session or per endpoint (server or responders)? (From what I understand, the sequence number has the same scope as the cookie and should be incr…
dbrgn updated
8 years ago
-
Instead of repeating the whole messages' content which could not be relayed, the signalling server should send a SHA-256 hash of the message which could not be relayed.
-
Instead of JSON, we use [MessagePack](http://msgpack.org/index.html) to pack/unpack binary data. Consequently, all former hex-encoded values must be sent as binary blobs.