Commit History

Auteur SHA1 Bericht Datum
  Daniel Alm 98f7fa6316 For service servers, replace inheritance with composition. 7 jaren geleden
  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 jaren geleden
  Daniel Alm 9375cad761 Remove several now-unused DispatchQueue arguments. 7 jaren geleden
  Daniel Alm 9dd55d9fa4 Add a `timeout` option to blocking `send()` and `receive()` calls. 7 jaren geleden
  Daniel Alm 5d322044ed Add tests to verify the behavior of canceling client and server calls. 7 jaren geleden
  Daniel Alm 6af3914244 Add a method to `ServerSessionClientStreaming` to return an error status without a result. 7 jaren geleden
  Daniel Alm da28b9aec2 Change the `ServerSession`s such that errors thrown during operation are returned to the client. 7 jaren geleden
  Daniel Alm be3fae437b Also extract streaming sending methods into a dedicated `StreamSending` protocol. 7 jaren geleden
  Daniel Alm ac7979d5e0 Ensure that errors in client calls are always provided to the user. 7 jaren geleden
  Daniel Alm 53c8ccaed6 Make `Handler.sendResponse` and `.receiveMessage` call through to the corresponding methods on `Call`. 7 jaren geleden
  Daniel Alm 1db9d4d477 Add a first set of XCTest-based tests. 7 jaren geleden
  Tim Burks aa746f8591 Move protoc-gen-swiftgrpc plugin to main Sources directory. 7 jaren geleden