Add notes on what message sending will look like in dendrite (#45)

This commit is contained in:
Mark Haines 2017-03-20 16:46:07 +00:00 committed by GitHub
parent 346f5d6334
commit a82ccf5b31
2 changed files with 96 additions and 15 deletions

View file

@ -20,7 +20,7 @@ Diagram:
+----------| W | +----------| S | +--------| R |
| +---+ | Receipts +---+ | Client +---+
| Federation |>=========================================>| Server |>=====================>| Sync |
| Send | | | | |
| Receiver | | | | |
| | +---+ | | | |
| | +--------| W | | | | |
| | | Client +---+ | | | |
@ -49,8 +49,8 @@ Diagram:
| | +---+ | | +---+ | |
| | +--------| W | | | +----------| S | | |
| | | Client +---+ | | | Presence +---+ | |
| | | Room |>=====>| |>=====>| Server |>=====================>| |
| | | Send | +--------+ | | | |
| | | API |>=====>| |>=====>| Server |>=====================>| |
| | | /send | +--------+ | | | |
| | | | | | | |
| | | |>======================>| |<=====================<| |
| | +----------+ | | | |
@ -101,7 +101,7 @@ choke-point to implement ratelimiting and backoff correctly.
* Writes typing updates to logs.
* Writes other updates to logs.
## Client Room Send
## Client API /send
* Handles puts to `/client/v1/rooms/` that create room events.
* Queries information needed to process events from the Room Server.