Titouan Rigoudy
|
0aa0c48591
|
Introduce proto Worker.
|
4 years ago |
Titouan Rigoudy
|
077296743e
|
Simplify Listener tests.
|
4 years ago |
Titouan Rigoudy
|
ac1c2bc551
|
Continue listening after failed WebSocket handshake.
|
4 years ago |
Titouan Rigoudy
|
f7cdae23d4
|
Add test.
|
4 years ago |
Titouan Rigoudy
|
f85079f028
|
Wrap over-long line.
|
4 years ago |
Titouan Rigoudy
|
023d1f6f35
|
Remove warning about Listener.address() being unused.
|
4 years ago |
Titouan Rigoudy
|
f2b241cffe
|
Send details about room with RoomJoinResponse.
|
4 years ago |
Titouan Rigoudy
|
dc2afc6924
|
Jot down TODOs.
|
4 years ago |
Titouan Rigoudy
|
c744ff4139
|
Handle RoomJoinResponse. Needs tests.
|
4 years ago |
Titouan Rigoudy
|
dcf3bcda83
|
Handle RoomJoinRequest.
|
4 years ago |
Titouan Rigoudy
|
17513ef377
|
Last test for the control listener.
|
4 years ago |
Titouan Rigoudy
|
de20326200
|
One more test for the control listener.
|
4 years ago |
Titouan Rigoudy
|
61a16795e0
|
Improve control listener test, fix shutdown handling.
|
4 years ago |
Titouan Rigoudy
|
2dcd7ceca3
|
Write first test for control listening code.
|
4 years ago |
Titouan Rigoudy
|
17bf55f117
|
Improve control channel variable naming.
|
4 years ago |
Titouan Rigoudy
|
94d7716ed8
|
Rework MessageHandler to use associated types.
|
4 years ago |
Titouan Rigoudy
|
c2b19896b3
|
Handle sending messages to rooms.
|
4 years ago |
Titouan Rigoudy
|
34ebc39bb1
|
Improve tests on Dispatcher.
|
4 years ago |
Titouan Rigoudy
|
aff9b062ba
|
Always close websocket.
|
4 years ago |
Titouan Rigoudy
|
45e1b5fa24
|
Refactor IncomingHandler.
|
4 years ago |
Titouan Rigoudy
|
54aebf7a87
|
Simplify outgoing control path.
|
4 years ago |
Titouan Rigoudy
|
064bdedf1d
|
Connect outgoing channel to websocket.
|
4 years ago |
Titouan Rigoudy
|
f74d11b07c
|
Connect client to outgoing control handler.
|
4 years ago |
Titouan Rigoudy
|
52838efeb1
|
Introduce useless OutgoingHandler.
|
4 years ago |
Titouan Rigoudy
|
896b99a1fe
|
Introduce IncomingHandler.
|
4 years ago |
Titouan Rigoudy
|
231809ef2a
|
Extract logic out of control::listen().
|
4 years ago |
Titouan Rigoudy
|
f278e56ae6
|
Run cargo fmt.
|
4 years ago |
Titouan Rigoudy
|
0f081a7a80
|
Replace ws dependency with tokio-tungstenite.
|
4 years ago |
Titouan Rigoudy
|
ab70428930
|
Connect control requests to executor in async mode.
|
4 years ago |
Titouan Rigoudy
|
2d5b2b2adb
|
Basic handler for control RoomListRequest.
|
4 years ago |
Titouan Rigoudy
|
27d0539a41
|
Replace rustc-serialize with serde.
|
4 years ago |
Titouan Rigoudy
|
7ecd97a0f2
|
Invert User serde tests.
|
4 years ago |
Titouan Rigoudy
|
83bccd8480
|
Tiny nit: improve indentation.
|
4 years ago |
Titouan Rigoudy
|
316dd6d582
|
Write remaining control response serde tests.
|
4 years ago |
Titouan Rigoudy
|
2227cafe0a
|
Add serde support for control responses.
Start writing tests, add TODO for the others.
|
4 years ago |
Titouan Rigoudy
|
4274d5a1a4
|
Rework control request serde tests.
|
4 years ago |
Titouan Rigoudy
|
6c8b17fd19
|
Add serde support to Room struct.
|
4 years ago |
Titouan Rigoudy
|
a1154859a1
|
Add serde support for User struct.
|
4 years ago |
Titouan Rigoudy
|
46b7fed632
|
Introduce serde for ControlRequest.
|
4 years ago |
Titouan Rigoudy
|
2bf08bc221
|
Dispatch RoomListResponse correctly.
|
4 years ago |
Titouan Rigoudy
|
ca8f580406
|
Add SetRoomListHandler.
|
4 years ago |
Titouan Rigoudy
|
4f115683a3
|
Define ContextBundle.
|
4 years ago |
Titouan Rigoudy
|
25ccac7a0b
|
Derive Clone for ServerResponse.
|
4 years ago |
Titouan Rigoudy
|
a778c75afc
|
Add server request sender to Context.
|
4 years ago |
Titouan Rigoudy
|
6f8d18f283
|
Apply same rustfmt.toml to proto/.
|
4 years ago |
Titouan Rigoudy
|
57a8791c85
|
Implement basic asynchronous main.
|
4 years ago |
Titouan Rigoudy
|
9850f8d3b3
|
Rework Client interface.
|
4 years ago |
Titouan Rigoudy
|
f6a6d190ef
|
Add --async command line switch.
|
4 years ago |
Titouan Rigoudy
|
3328aaed3d
|
Small fixes to Dispatcher.
|
4 years ago |
Titouan Rigoudy
|
18ac420713
|
Implement Into<ServerResponse> for all response types.
|
4 years ago |