Commit History

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