mirror of
https://github.com/deavmi/tristanable.git
synced 2024-09-21 19:02:56 +02:00
26 lines
490 B
Markdown
26 lines
490 B
Markdown
tristanable
|
|
===========
|
|
|
|
Tag-based asynchronous messaging framework
|
|
|
|
## Usage
|
|
|
|
The entry point is via the `Manager` type, so first create an instance as follows (passing the endpoint `Socket` in as `socket` in this example)
|
|
|
|
```d
|
|
Manager manager = new Manager(socket);
|
|
```
|
|
|
|
Now the event loop would have started.
|
|
|
|
**TODO**
|
|
|
|
## Format
|
|
|
|
```
|
|
[4 bytes (size-2, little endian)][8 bytes - tag][(2-size) bytes - data]
|
|
```
|
|
|
|
## Acknowledgements
|
|
|
|
Thansk to Gabby Smuts for the name suggestion 😉️ |