Titouan Rigoudy
|
3c4487f764
|
Write tests for RoomJoinResponseHandler.
|
4 years ago |
Titouan Rigoudy
|
0ce0f763f2
|
Fix flaky test.
|
4 years ago |
Titouan Rigoudy
|
5d82bbc818
|
Rename SetPrivilegedUsersHandler -> PrivilegedUsersResponseHandler.
|
4 years ago |
Titouan Rigoudy
|
4ffe17e141
|
Rename SetRoomListHandler -> RoomListResponseHandler.
|
4 years ago |
Titouan Rigoudy
|
e0b95fdbdf
|
Immediately reply to RoomListRequest.
|
4 years ago |
Titouan Rigoudy
|
3beb31087b
|
Basic handling for RoomMessageResponse: forward it.
|
4 years ago |
Titouan Rigoudy
|
abeedd9065
|
Update dependencies, specify them uniformly.
|
4 years ago |
Titouan Rigoudy
|
1b700974f5
|
Update crate used for md5 computation.
|
4 years ago |
Titouan Rigoudy
|
a740dad9de
|
Remove unused crates.
|
4 years ago |
Titouan Rigoudy
|
ead5936138
|
Introduce Config struct.
|
4 years ago |
Titouan Rigoudy
|
815a414df8
|
Move config module to client crate.
|
4 years ago |
Titouan Rigoudy
|
f70c7d5dfe
|
Remove superfluous version constants.
|
4 years ago |
Titouan Rigoudy
|
af0efdf41d
|
Simplify proto::peer module.
|
4 years ago |
Titouan Rigoudy
|
7b34d10754
|
Delete old unused proto code.
|
4 years ago |
Titouan Rigoudy
|
82d8897aa8
|
Remove unused import.
|
4 years ago |
Titouan Rigoudy
|
b69bef26dc
|
Return login info from Client::login().
|
4 years ago |
Titouan Rigoudy
|
e77b260e61
|
Fix buffering issue when logging in.
Previously, a race condition meant some incoming messages could
have been lost during the handshake if they arrived fast enough.
|
4 years ago |
Titouan Rigoudy
|
c3cc5a26cb
|
Remove mio dependency, old proto code.
|
4 years ago |
Titouan Rigoudy
|
c1d3f30918
|
Have Client return a Worker.
|
4 years ago |
Titouan Rigoudy
|
c504715cba
|
Test Worker::run() error cases.
|
4 years ago |
Titouan Rigoudy
|
aca3d80588
|
Return errors from Worker::run().
|
4 years ago |
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 |