vanguard-go
vanguard-go copied to clipboard
Support REST, gRPC, gRPC-Web, and Connect clients with one server.
This PR adds default HTTP bindings to all methods. A method will effectively have an implicit annotation of `POST` with the path matching the services full name and method name...
I have the following program: https://github.com/anhnmt/gprc-dynamic-proto/blob/main/cmd/service/main.go I have successfully connected grpc and restapi, can I call the api like the following? ```bash curl --header "Content-Type: application/json" \ --data '{}' \...
This is a wonderfully flexible library, but we've heard in the [Buf Slack channel](https://buf.build/links/slack) that some users have had issues to get started with the simple use case of exposing...
We should run Connect's conformance tests against a server that uses Vanguard to do protocol translation. This could help tease out any possible issues that aren't checked in this repo's...
Currently, requests received by the RPC handler will _usually_ be compressed if the client compressed them, and responses sent to clients will _usually_ be compressed if the RPC handler chose...
RPC errors can include arbitrary additional details in the form of `google.protobuf.Any` messages. These messages are generally transmitted in the Protobuf binary format, and the in-memory format of a de-serialized...
Currently, the transcoder always rewrites the `http.Request` and also rewrites the response via decorating `http.ResponseWriter`. This involves copying the bytes at best and re-writing them at worst (i.e. to transcode...
Your FOSSA integration was successful! Attached in this PR is a badge and license report to track scan status in your README. Below are docs for integrating FOSSA license checks...
When transcoding REST to a gRPC upstream, by default, all bad requests return a `500` instead a `400`. The final error and status code can be rewritten in an HTTP...