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
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,11 +22,11 @@ See [Client.close()](/javascript-api/k6-experimental/grpc/client/client-close) t
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
23
|`ConnectParams.maxReceiveSize`| number | Sets the maximum message size in bytes the client can receive. Defaults to 0. |
24
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)| TLS settings of the connection. Defaults not defined. |
25
+
|`ConnectParams.tls` (optional) | object |[TLS](#tls) settings of the connection. Defaults to `null`. |
26
26
27
27
## TLS
28
28
29
-
TLS settings of the connection, if not defined, the main TLS config from options will be used.
29
+
TLS settings of the connection. If not defined, the main TLS config from options will be used.
30
30
31
31
| Name | Type | Description |
32
32
|------|------|-------------|
@@ -69,7 +69,9 @@ export default () => {
69
69
importgrpcfrom'k6/experimental/grpc';
70
70
import { check } from'k6';
71
71
72
-
// note: there are no such services
72
+
// note: the services in this example don't exist. If you would like
73
+
// to run this example, make sure to replace the URLs, and
74
+
// the cacerts, cert, key, and password variables.
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
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,11 +22,11 @@ See [Client.close()](/javascript-api/k6-net-grpc/client/client-close) to close t
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
23
|`ConnectParams.maxReceiveSize`| number | Sets the maximum message size in bytes the client can receive. Defaults to 0. |
24
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)| TLS settings of the connection. Defaults not defined. |
25
+
|`ConnectParams.tls` (optional) | object |[TLS](#tls) settings of the connection. Defaults to `null`. |
26
26
27
27
## TLS
28
28
29
-
TLS settings of the connection, if not defined, the main TLS config from options will be used.
29
+
TLS settings of the connection. If not defined, the main TLS config from options will be used.
0 commit comments