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 f555d3c commit d49b91aCopy full SHA for d49b91a
grpc/grpc-client/src/commonMain/kotlin/kotlinx/rpc/grpc/client/credentials.kt
@@ -107,12 +107,12 @@ public class GrpcInsecureClientCredentials : GrpcClientCredentials
107
* Verify the server's identity using a trust manager with root certificates:
108
*
109
* ```kotlin
110
- * val credentials = GrpcTlsClientCredentials {
+ * val tlsCredentials = GrpcTlsClientCredentials {
111
* trustManager(serverCertPem)
112
* }
113
114
* val client = GrpcClient("example.com", 443) {
115
- * credentials = credentials
+ * credentials = tlsCredentials
116
117
* ```
118
0 commit comments