Skip to content

Commit

Permalink
Connect-ES Servers: Document JSON and binary options (#197)
Browse files Browse the repository at this point in the history
See connectrpc/connect-es#1192 and
#41

Signed-off-by: Timo Stamm <[email protected]>
Signed-off-by: Steve Ayers <[email protected]>
  • Loading branch information
timostamm authored and smaye81 committed Sep 30, 2024
1 parent 8393593 commit baba927
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/node/server-plugins.md
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,12 @@ All adapters take a set of common options:
Whether to enable the gRPC protocol for your routes. Enabled by default.
- `interceptors?: Interceptor[]`<br/>
An array of interceptors to apply to all requests. See [Interceptors](./interceptors.md) for more information.
- `jsonOptions`<br/>
Protobuf [JSON serialization options](https://github.com/bufbuild/protobuf-es/blob/v1/docs/runtime_api.md#json-serialization-options).
If your service uses `google.protobuf.Any`, provide a `typeRegistry` with the
allowed message types.
- `binaryOptions`<br/>
Protobuf [binary serialization options](https://github.com/bufbuild/protobuf-es/blob/v1/docs/runtime_api.md#binary-serialization-options).


## HTTP/2, TLS, and gRPC
Expand Down

0 comments on commit baba927

Please sign in to comment.