Daniel Alm
|
e00e1e8e80
Fix several completion queue leaks in tests; ensure that cancelling a session server-side always shuts down the corresponding completion queue.
|
7 年之前 |
Daniel Alm
|
fd60668194
Streamline the interface of the server-side response handling code: In the default (successful) case, most request handlers can now simply return `.ok` and have `ServiceServer` handle sending back the status for them. This also streamlines the `run()` implementations of the `ServerSession` subclasses.
|
7 年之前 |
Daniel Alm
|
5d322044ed
Add tests to verify the behavior of canceling client and server calls.
|
7 年之前 |
Daniel Alm
|
da28b9aec2
Change the `ServerSession`s such that errors thrown during operation are returned to the client.
|
7 年之前 |
Daniel Alm
|
ac7979d5e0
Ensure that errors in client calls are always provided to the user.
|
7 年之前 |
Daniel Alm
|
2f93962b91
Add a public initializer for `ServerSessionTestStub`, to make it actually usable in tests.
|
7 年之前 |
Tim Burks
|
6a408655fa
Minor file reorganization in Sources/SwiftGRPC.
|
7 年之前 |