Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add assertion when using gRPC with URLSession #138

Merged
merged 1 commit into from Jun 26, 2023
Merged

Conversation

rebello95
Copy link
Contributor

Add a debug assertion failure that will trigger when the URLSessionHTTPClient is used with gRPC to make it more apparent as to why some "successful" responses are still invalid.

For context, URLSession does not support trailers and is thus incompatible with gRPC.

Add a debug assertion failure that will trigger when the `URLSessionHTTPClient` is used with gRPC to make it more apparent as to why some "successful" responses are still invalid.

For context, URLSession does not support trailers and is thus incompatible with gRPC.
@rebello95 rebello95 merged commit 6d6df4f into main Jun 26, 2023
9 checks passed
@rebello95 rebello95 deleted the grpc-assertion branch June 26, 2023 16:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants