提交歷史

作者 SHA1 備註 提交日期
  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 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 年之前
  Daniel Alm 9375cad761 Remove several now-unused DispatchQueue arguments. 7 年之前
  Daniel Alm 43a3c46f3e Also dispatch the actual request handlers on new threads. 7 年之前
  Daniel Alm c7db70477e Make the test stubs thread safe. 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 e7645b48ef Add sample test suites to demonstrate how one would test client/server code. 7 年之前
  Daniel Alm da28b9aec2 Change the `ServerSession`s such that errors thrown during operation are returned to the client. 7 年之前
  Daniel Alm f814a34949 Formatting: Replace several occurrences of `catch (let ...)` with just `catch`. 7 年之前
  Daniel Alm 9916aeaa36 Consolidate a few more calls into `StreamSending`. 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 6a408655fa Minor file reorganization in Sources/SwiftGRPC. 7 年之前