Skip to content

Commit bf7716a

Browse files
author
Adriano Santos
committed
merge with master
2 parents d80a638 + 2fe10b2 commit bf7716a

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

grpc_server/guides/advanced/custom_codecs.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -300,5 +300,4 @@ If you need custom encoding for HTTP endpoints, consider:
300300
- **Custom codecs are NOT supported for HTTP transcoding** - only `GRPC.Codec.JSON` is used
301301

302302
For more examples, see the test suite:
303-
- `test/grpc/integration/custom_codec_test.exs`
304-
- `test/grpc/codec/proto_test.exs`
303+
- `test/grpc/codec/proto_test.exs`

grpc_server/guides/advanced/transcoding.livemd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,6 @@ $ curl -XPOST -H 'Content-type: application/json' -d '{"name": "test", "from": "
212212

213213
>__Note__: gRPC Transcode HttpRule https://docs.cloud.google.com/endpoints/docs/grpc-service-config/reference/rpc/google.api#google.api.HttpRule
214214
215-
> __Warning__: HTTP transcoding **always** uses `GRPC.Codec.JSON` for encoding and decoding, regardless of any custom codecs configured in your server. This is by design, as HTTP transcoding follows the standard HTTP/JSON to gRPC mapping specification. If you need custom serialization formats, use standard gRPC (HTTP/2) instead. For more details, see the [Custom Codecs](custom_codecs.md) guide.
215+
> __Warning__: HTTP transcoding **always** uses `GRPC.Codec.JSON` for encoding and decoding, regardless of any custom codecs configured in your server. This is by design, as HTTP transcoding follows the standard HTTP/JSON to gRPC mapping specification. If you need custom serialization formats, use standard gRPC (HTTP/2) instead. For more details, see the [Custom Codecs](custom_codecs.md) guide.
216216
217217
---

0 commit comments

Comments
 (0)