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 năm trước cách đây |
Daniel Alm
|
dc35994f21
Make the server dispatch each request handler on its own thread and make the `ServerSession` request handler implementations run synchronously; this saves one potentially costly asynchronous dispatch.
|
7 năm trước cách đây |
Daniel Alm
|
9375cad761
Remove several now-unused DispatchQueue arguments.
|
7 năm trước cách đây |
Daniel Alm
|
43a3c46f3e
Also dispatch the actual request handlers on new threads.
|
7 năm trước cách đây |
Daniel Alm
|
da28b9aec2
Change the `ServerSession`s such that errors thrown during operation are returned to the client.
|
7 năm trước cách đây |
Daniel Alm
|
ac7979d5e0
Ensure that errors in client calls are always provided to the user.
|
7 năm trước cách đây |
Tim Burks
|
6a408655fa
Minor file reorganization in Sources/SwiftGRPC.
|
7 năm trước cách đây |