Skip to content

Commit d49b91a

Browse files
committed
grpc: Fix documentation
1 parent f555d3c commit d49b91a

File tree

1 file changed

+2
-2
lines changed
  • grpc/grpc-client/src/commonMain/kotlin/kotlinx/rpc/grpc/client

1 file changed

+2
-2
lines changed

grpc/grpc-client/src/commonMain/kotlin/kotlinx/rpc/grpc/client/credentials.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,12 +107,12 @@ public class GrpcInsecureClientCredentials : GrpcClientCredentials
107107
* Verify the server's identity using a trust manager with root certificates:
108108
*
109109
* ```kotlin
110-
* val credentials = GrpcTlsClientCredentials {
110+
* val tlsCredentials = GrpcTlsClientCredentials {
111111
* trustManager(serverCertPem)
112112
* }
113113
*
114114
* val client = GrpcClient("example.com", 443) {
115-
* credentials = credentials
115+
* credentials = tlsCredentials
116116
* }
117117
* ```
118118
*

0 commit comments

Comments
 (0)