forked from grpc/grpc-swift
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add back GRPCPayload support for server handlers
Motivation: Recent work in grpc#886 and grpc#889 made `GRPCProtobufPayload` redundant. Since we broke this work into multiple PRs we temporarily dropped support for custom `GRPCPayload`s on the server. This PR adds that back. Modifications: - Add `GRPCPayload` support back to the server by adding the relevant call handler factory functions - Re-enable the custom payload tests - Add a few more custom payload tests (since they were limited to just bidirectional streaming) Result: - Clients and servers support `SwiftProtobuf.Message` and `GRPCPayload` separately without using `GRPCProtobufPayload` to bridge between them.
- Loading branch information
Showing
3 changed files
with
367 additions
and
199 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.