Taeho Kim
|
3cd505acdc
Allow client to specify metadata per call (#356)
|
пре 6 година |
Daniel Alm
|
98f7fa6316
For service servers, replace inheritance with composition.
|
пре 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
|
9375cad761
Remove several now-unused DispatchQueue arguments.
|
пре 7 година |
Daniel Alm
|
9760b25fad
Replace "{send,receive}Internal" with "_{send,receive}".
|
пре 7 година |
Daniel Alm
|
9dd55d9fa4
Add a `timeout` option to blocking `send()` and `receive()` calls.
|
пре 7 година |
Daniel Alm
|
5d322044ed
Add tests to verify the behavior of canceling client and server calls.
|
пре 7 година |
Daniel Alm
|
8d07183369
Add a blocking variant of the `send` method to `ServerStreaming`.
|
пре 7 година |
Daniel Alm
|
6af3914244
Add a method to `ServerSessionClientStreaming` to return an error status without a result.
|
пре 7 година |
Daniel Alm
|
da28b9aec2
Change the `ServerSession`s such that errors thrown during operation are returned to the client.
|
пре 7 година |
Daniel Alm
|
be3fae437b
Also extract streaming sending methods into a dedicated `StreamSending` protocol.
|
пре 7 година |
Daniel Alm
|
ac7979d5e0
Ensure that errors in client calls are always provided to the user.
|
пре 7 година |
Tim Burks
|
12df04f87e
move examples under Sources/Examples
|
пре 7 година |