You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Such a middleman can handle both application/json and application/x-protobuf. In the former case, however, the server would respond using application/x-protobuf as well. In such a scenario, it is necessary to deserialize the gRPC error message manually.
Describe the solution you'd like
Status could get additional constructor init<Bytes: SwiftProtobufContiguousBytes>(serializedBytes bytes: Bytes) in a similar fasion Go library does
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe it.
Some gRPC services are hidden behind proxies that translate RESTful into gRPC like:
Such a middleman can handle both
application/json
andapplication/x-protobuf
. In the former case, however, the server would respond usingapplication/x-protobuf
as well. In such a scenario, it is necessary to deserialize the gRPC error message manually.Describe the solution you'd like
Status
could get additional constructorinit<Bytes: SwiftProtobufContiguousBytes>(serializedBytes bytes: Bytes)
in a similar fasion Go library doesThe text was updated successfully, but these errors were encountered: