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

Connect-ES Servers: Document JSON and binary options #197

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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