RAC-Hub

WRACv2.0 Protocol

Uses websocket for connections, and sends binary data only (works in packet-way manner)

Totally inherits all packets of RACv2, except of reading messages

Sending messages

Client sends:

Sending authorized messages

Client sends:

Server sends:

Registration users

Client sends:

Server sends:

Reading messages

Getting message length

Client sends:

Server sends:

Normal reading

This packet is independent from getting message length packet.

Client sends:

Server sends:

Chunked reading

This packet is independent from getting message length packet.

Client sends:

Server sends:

for example: if you want to read last N bytes, last_size = data_size - N

Source: https://github.com/MeexReay/bRAC/blob/main/docs/wrac.md