We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 170767f commit 5a0a7baCopy full SHA for 5a0a7ba
client/src/lib.rs
@@ -150,9 +150,9 @@ pub struct ClientOptions {
150
151
/// HTTP headers to include on every RPC call.
152
///
153
- /// These must be valid gRPC metadata keys, and must not end with a `-bin` suffix (to set binary
154
- /// headers, see [ClientOptions::binary_headers]). Invalid header keys will cause an error to be
155
- /// returned when connecting.
+ /// These must be valid gRPC metadata keys, and must not be binary metadata keys (ending in
+ /// `-bin). To set binary headers, use [ClientOptions::binary_headers]. Invalid header keys or
+ /// values will cause an error to be returned when connecting.
156
#[builder(default)]
157
pub headers: Option<HashMap<String, String>>,
158
0 commit comments