You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/20 Client/20-Client-connect-connect-address-params.md
+76-2Lines changed: 76 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,8 +20,20 @@ See [Client.close()](/javascript-api/k6-experimental/grpc/client/client-close) t
20
20
|`ConnectParams.plaintext`| bool | If `true` will connect to the gRPC server using plaintext i.e. insecure. Defaults to `false` i.e. secure via TLS. |
21
21
|`ConnectParams.reflect`| boolean | Whether to use the [gRPC server reflection protocol](https://github.com/grpc/grpc/blob/master/doc/server-reflection.md) when connecting. |
22
22
|`ConnectParams.timeout`| string / number | Connection timeout to use. Default timeout is `"60s"`. <br/> The type can also be a number, in which case k6 interprets it as milliseconds, e.g., `60000` is equivalent to `"60s"`. |
23
-
|`ConnectParams.maxReceiveSize`| number | Sets the maximum message size in bytes the client can receive.Defaults to 0. |
24
-
|`ConnectParams.maxSendSize`| number | Sets the maximum message size in bytes the client can send.Defaults to 0. |
23
+
|`ConnectParams.maxReceiveSize`| number | Sets the maximum message size in bytes the client can receive. Defaults to 0. |
24
+
|`ConnectParams.maxSendSize`| number | Sets the maximum message size in bytes the client can send. Defaults to 0. |
25
+
|`ConnectParams.tls` (optional) | object |[TLS](#tls) settings of the connection. Defaults to `null`. |
26
+
27
+
## TLS
28
+
29
+
TLS settings of the connection. If not defined, the main TLS config from options will be used.
Copy file name to clipboardExpand all lines: src/data/markdown/docs/02 javascript api/11 k6-net-grpc/20 Client/20-Client-connect-connect-address-params.md
+76-2Lines changed: 76 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,8 +20,20 @@ See [Client.close()](/javascript-api/k6-net-grpc/client/client-close) to close t
20
20
|`ConnectParams.plaintext`| bool | If `true` will connect to the gRPC server using plaintext i.e. insecure. Defaults to `false` i.e. secure via TLS. |
21
21
|`ConnectParams.reflect`| boolean | Whether to use the [gRPC server reflection protocol](https://github.com/grpc/grpc/blob/master/doc/server-reflection.md) when connecting. |
22
22
|`ConnectParams.timeout`| string / number | Connection timeout to use. Default timeout is `"60s"`. <br/> The type can also be a number, in which case k6 interprets it as milliseconds, e.g., `60000` is equivalent to `"60s"`. |
23
-
|`ConnectParams.maxReceiveSize`| number | Sets the maximum message size in bytes the client can receive.Defaults to 0. |
24
-
|`ConnectParams.maxSendSize`| number | Sets the maximum message size in bytes the client can send.Defaults to 0. |
23
+
|`ConnectParams.maxReceiveSize`| number | Sets the maximum message size in bytes the client can receive. Defaults to 0. |
24
+
|`ConnectParams.maxSendSize`| number | Sets the maximum message size in bytes the client can send. Defaults to 0. |
25
+
|`ConnectParams.tls` (optional) | object |[TLS](#tls) settings of the connection. Defaults to `null`. |
26
+
27
+
## TLS
28
+
29
+
TLS settings of the connection. If not defined, the main TLS config from options will be used.
0 commit comments