Titouan Rigoudy
|
c1d3f30918
|
Have Client return a Worker.
|
4 years ago |
Titouan Rigoudy
|
6f8d18f283
|
Apply same rustfmt.toml to proto/.
|
4 years ago |
Titouan Rigoudy
|
9850f8d3b3
|
Rework Client interface.
|
4 years ago |
Titouan Rigoudy
|
b7a6467fa1
|
Rename read/write_strict.
|
4 years ago |
Titouan Rigoudy
|
e06b3c86b6
|
Define message-type-agnostic Channel type.
|
4 years ago |
Titouan Rigoudy
|
0f13f774cd
|
Fix handling of concurrent send and receive.
|
4 years ago |
Titouan Rigoudy
|
c4e4c07901
|
Add ability to receive responses while sending requests.
|
4 years ago |
Titouan Rigoudy
|
740b704492
|
Replace FrameStream with FrameReader and FrameWriter.
|
4 years ago |
Titouan Rigoudy
|
d432d58bb3
|
Format and remove warnings from proto.
|
4 years ago |
Titouan Rigoudy
|
a7f48e12aa
|
Extract proto module to its own crate.
|
4 years ago |
Titouan Rigoudy
|
d718e8d883
|
Define workspace and client crate.
|
4 years ago |
Titouan Rigoudy
|
719480e99c
|
Implement From<*Request> for ServerRequest.
|
4 years ago |
Titouan Rigoudy
|
571f7cd3e9
|
Define small lib.rs for integration testing.
|
4 years ago |
Titouan Rigoudy
|
dd1a660c33
|
Fix stream_closed looping forever.
|
4 years ago |
Titouan Rigoudy
|
86552bf3a5
|
Check all responses in stream_closed test.
|
4 years ago |
Titouan Rigoudy
|
d5776cd81b
|
Rework FakeServer initialization.
|
4 years ago |
Titouan Rigoudy
|
b39d2bfbcc
|
Extract ClientOptions setup in tests.
|
4 years ago |
Titouan Rigoudy
|
756a236608
|
Make Client::run() yield an error when stream is closed.
|
4 years ago |
Titouan Rigoudy
|
bab80e351a
|
Clean up testing::Handler::run().
|
4 years ago |
Titouan Rigoudy
|
883d81e092
|
Improve UserStatusMap ergonomics.
|
4 years ago |
Titouan Rigoudy
|
a400ad595a
|
Handle UserStatusRequest in FakeServer.
|
4 years ago |
Titouan Rigoudy
|
59b255e589
|
Fix tests.
|
4 years ago |
Titouan Rigoudy
|
9f3f20a4c7
|
Tiny comment nits.
|
4 years ago |
Titouan Rigoudy
|
92ff0aa63d
|
Add TODO.
|
4 years ago |
Titouan Rigoudy
|
9ef3e48cdd
|
Move Version to its own module.
|
4 years ago |
Titouan Rigoudy
|
1f3ace9434
|
Move password check out of LoginRequest.
|
4 years ago |
Titouan Rigoudy
|
582e155ebc
|
Make ClientOptions public.
|
4 years ago |
Titouan Rigoudy
|
27b65eec60
|
Support graceful stream shutdown in client and server.
This requires amending the FrameStream::read() interface to report
when EOF has been reached.
|
4 years ago |
Titouan Rigoudy
|
2f6edc3e55
|
Improve ergonomics of FakeServer.
|
4 years ago |
Titouan Rigoudy
|
51464e2251
|
Implement FakeServer graceful shutdown.
|
4 years ago |
Titouan Rigoudy
|
7ba1b64451
|
Shut down writer when client runs out of requests.
|
4 years ago |
Titouan Rigoudy
|
8f9d23af0c
|
Tiny comment fix.
|
4 years ago |
Titouan Rigoudy
|
d465c9f216
|
Rework Client API to something inspired by tonic bidi streaming RPCs.
|
4 years ago |
Titouan Rigoudy
|
d93b785c40
|
Define proto::server::Client, implement rough login.
|
4 years ago |